[#Part: CMP TallyShopFeatures Left]
	Add : Line  : 	 EnableInvoice_0016 

[Line :  EnableInvoice_0016]
    Field : medium prompt, EnableInvoice_0016
    Local : field : medium prompt : set as : "Enable Stylish e-Invoice Print Format - 0016 ?"
    Local : Field : Medium Prompt : width : 35
    space top : 0.2 cm

[Field :  EnableInvoice_0016]
   Use 		: Logical field
   Storage 	: EnableInvoice_0016

    Sub Form: EnableInvoice_0016 : $EnableInvoice_0016
		

[Report: EnableInvoice_0016]
	Title:"Seal & Signature"
	Form: EnableInvoice_0016
	
[Form: EnableInvoice_0016]
	Part: EnableInvoice_0016
	Background:purchasevocherclr
    Space Top:1
    Space Bottom:1
    
[Part: EnableInvoice_0016]
	line:Enable_TWS_SealSignature_0016
    
	;Width: 55% page
    
[System: formula]	
	EnableInvoice_0016 	: $EnableInvoice_0016:company:##svcurrentcompany
	HVEnableInvoice_0016: $EnableInvoice_0016:voucherType:##SVVoucherType
	
[System: udf]
	EnableInvoice_0016 	: Logical	: 121
	
	TermsNCondd_0016_1 	: String	: 122
	TermsNCondd_0016_2 	: String	: 123
	TermsNCondd_0016_3 	: String	: 124
	TermsNCondd_0016_4 	: String	: 125
	TermsNCondd_0016_5 	: String	: 126
	
	
[#Part: VTYP Main Left]
	add :  Parts   : At End : HVEnableInvoice_0016

[Part: HVEnableInvoice_0016]
	Line	: HVEnableInvoice_0016
	Local	: Field	: LongPrompt		: Width		: @@LongWidth + 5

[Line: HVEnableInvoice_0016]
	Space Top: 2 mm
	Field: Long prompt,HVEnableInvoice_0016
	Local: Field: Long prompt : Set as: "Enable Stylish e-Invoice Print Format - 0016 & Terms ?"
			
	Invisible: not @@EnableInvoice_0016

[Field: HVEnableInvoice_0016]
	Use: logical field
	Storage: EnableInvoice_0016
	Sub Form: HVTermsandCond_0016Report : $EnableInvoice_0016
		

[Report: HVTermsandCond_0016Report]
	Title:"Terms & Conditions"
	Form: HVTermsandCond_0016Report
	
[Form: HVTermsandCond_0016Report]
	Part: TermsNCondd_0016
	Background:purchasevocherclr

[Part: TermsNCondd_0016]
	Line: HEnable_TWS_SealSignature_0016
    
	Line: Title_TermsNCondd_0016
	
	Line: TermsNCondd_0016_1
	Line: TermsNCondd_0016_2
	Line: TermsNCondd_0016_3
	Line: TermsNCondd_0016_4
	Line: TermsNCondd_0016_5
	
	Width: 95% page


[Line:Title_TermsNCondd_0016]
	Fields      : Title_TermsNCondd_0016

	Space Top	: 2 mm
	Space Bottom: 2 mm
	Border		: thin top bottom

[Field: Title_TermsNCondd_0016]
	Use		    : Name Field
	Set as 		: "Terms & Conditions"
	Style		: small bold
    Full Width	: Yes
	Skip		: Yes
	Align		: Centre
	Max			: 99999
	
[Line: TermsNCondd_0016_1]
	Fields      : TermsNCondd_0016_1
    Space Top	: 3 mm

[Field: TermsNCondd_0016_1]
	Use		    : Name Field
	Storage		: TermsNCondd_0016_1
	Style		: small bold
    Full Width	: Yes
	Max			: 99999

[Line: TermsNCondd_0016_2]
	Fields      : TermsNCondd_0016_2
    Space Top	: 3 mm

[Field: TermsNCondd_0016_2]
	Use		    : Name Field
	Storage		: TermsNCondd_0016_2
	Style		: small bold
    Full Width	: Yes
	Max			: 99999

[Line: TermsNCondd_0016_3]
	Fields      : TermsNCondd_0016_3
    Space Top	: 3 mm

[Field: TermsNCondd_0016_3]
	Use		    : Name Field
	Storage		: TermsNCondd_0016_3
	Style		: small bold
    Full Width	: Yes
	Max			: 99999                

[Line: TermsNCondd_0016_4]
	Fields      : TermsNCondd_0016_4
    Space Top	: 3 mm

[Field: TermsNCondd_0016_4]
	Use		    : Name Field
	Storage		: TermsNCondd_0016_4
	Style		: small bold
    Full Width	: Yes
	Max			: 99999

[Line: TermsNCondd_0016_5]
	Fields      : TermsNCondd_0016_5
    Space Top	: 3 mm

[Field: TermsNCondd_0016_5]
	Use		    : Name Field
	Storage		: TermsNCondd_0016_5
	Style		: small bold
    Full Width	: Yes
	Max			: 99999

[System: formula]
Invoice_0016PrintBankName_0016	: @@VchBankName;$VchPrintBankName:voucherType:##SVVoucherType

[#Line: EXPINV Column1]
Add:Option:  HV_Invoice_0016PrintingOp2  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Line : HV_Invoice_0016PrintingOp2]
Local : Field : EXPINV SLNoTitle  		: Set as : "Sr";$$StringWord:1:$$LocaleString:"Sr No"
Local : Field : EXPINV RatePerTitle   	: Info   : $$LocaleString:"Per"            
Local : Field : EXPINV RatePerTitle   	: Align:Centre

[#Line: EXPINV Column2]
     Add:Option:  HV_Invoice_0016PrintingOp4  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Line : HV_Invoice_0016PrintingOp4]
Local : Field : EXPINV SLNoTitle  		: Set as 	: "No" ;$$StringWord:2:$$LocaleString:"Sr No"
Local : Field : EXPINV SLNoTitle  		: Align:Centre
  Delete:Border
  
[#Field: EXPINV SLNoTitle]
     Add:Option:  HV_Invoice_0016PrintingOp3  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Field : HV_Invoice_0016PrintingOp3]
Width:8 mm
Align:Centre
      
[#Field: EXPINV SLNo]
     Add:Option:  HV_Invoice_0016PrintingOp2  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Field : HV_Invoice_0016PrintingOp2]
Width:8 mm
Align:Centre
 
[#Field: EXPINV QtyTitle]
    Add:Option:  HV_Invoice_0016PrintingOp1  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Field : HV_Invoice_0016PrintingOp1]
Info : $$LocaleString:"Qty"
    
;[#Part: CMP TallyShopFeatures Left]
;	add    : line:Enable_TWS_SealSignature_0016

[line :   Enable_TWS_SealSignature_0016]
	field : medium prompt,   Enable_TWS_SealSignature_0016
	Local : field : medium Prompt : Set as  :"Enable Seal & Signature In Invoice Print ?"
    Local : field : medium Prompt : Width : 32
	;space top :  2 mm

	;field : Long prompt
	Local : field : Long Prompt : Set as  	: "(Note : Set Seal & Signature Image Path In Voucher Type Level)"
    Local : field : Long Prompt : Width 	: 45
	Local : field : Long Prompt : Align		: Centre
	Local : field : Long Prompt : Style		: Small Bold Italic
	Local : field : Long Prompt : Color		: Blue
	Local : field : Long Prompt : Full Width:Yes
	Local : field : Long Prompt : Inactive : NOT $Enable_TWS_SealSignature_0016
	
[field :  Enable_TWS_SealSignature_0016]
	Use : Logical Field 
	Storage :   Enable_TWS_SealSignature_0016

	
;[#Part: VTYP Main Left]
;	Option:	vnvvoucherTypeEnable_TWS_SealSignature_0016	:	@@Enable_TWS_SealSignature_0016
	
[!Part:vnvvoucherTypeEnable_TWS_SealSignature_0016]
	add :  Parts   : At End : HEnable_TWS_SealSignature_0016
             
[Part: HEnable_TWS_SealSignature_0016]
    
	Line: HEnable_TWS_SealSignature_0016
	Local: Field	: LongPrompt		: Width		: @@LongWidth + 5
	
[Line: HEnable_TWS_SealSignature_0016]
	Space Top: 0.5
    Space Bottom:0.5
    
	Field: Long prompt,HEnable_TWS_SealSignature_0016
	Local: Field: Long prompt : Set as: "Enable Seal & Signature In Invoice Print ?"
	
    Invisible : NOT @@Enable_TWS_SealSignature_0016

[Field: HEnable_TWS_SealSignature_0016]
	Use: logical field
	Storage: Enable_TWS_SealSignature_0016
	Sub Form: TWS_SealSignature_0016_Location : $Enable_TWS_SealSignature_0016

;[#Part: EXPINV Customer]
;	Add:Option: TWS_SealSignature_0016_RightSignvvs : @@CMP_TWS_SealSignature_0016
	
[!Part:TWS_SealSignature_0016_RightSignvvs]
	Left Parts  : EXPINV CustomerSign
	delete		: Right Parts : EXPINV Signature
	Option      : Small Size Part
	Border      : Thin Box
	Vertical    : No
	
	Invisible   : NOT ##SACustomerSign
	
	Local		: Part : EXPINV Signature	 : Delete: Border
	Local		: Part : EXPINV Signature 	 : Border: ThinLeft

	Add			: Right Parts:At End:Vaibhav_TWS_SealSignature_0016
	Local		: Part:Vaibhav_TWS_SealSignature_0016 : Invisible   : not ##SACustomerSign
					
;[#Form: GST Comprehensive Invoice_0016 Default]
;	Add:Option: TWS_SealSignature_0016_RightSignvv : @@CMP_TWS_SealSignature_0016
	
[!Form:TWS_SealSignature_0016_RightSignvv]    
	Local : Part : EXPINV SignOff       : delete:Height	
    Local : Part : EXPINV MainSignOff   : delete:Height    
    			
[#Part: EXPINV RightSign]
	Add:Option: TWS_SealSignature_0016_RightSignv : @@CMP_TWS_SealSignature_0016
	
[!Part:TWS_SealSignature_0016_RightSignv]
	Delete: Bottom Part: EXPINV TWS_SealSignature_0016
	Delete:BottomParts : EXPINV LBT Details, EXPINV DateTime, EXPINV TWS_SealSignature_0016
	Delete:Part        : EXPINV ExciseDetails

	Add: Bottom Part: At End: Vaibhav_TWS_SealSignature_0016
	Local:Part:Vaibhav_TWS_SealSignature_0016 : Invisible   : ##SACustomerSign
			
[Part:Vaibhav_TWS_SealSignature_0016_01]
	 Line        : EXPSMP TWS_SealSignature_0016 01 
	 ;Border  	:  Full Thin Top
	 Space Bottom: .3
     Space Top:0.1
     
	 
[Line: EXPSMP TWS_SealSignature_0016 01]
     PrePrinted  : Yes

     Right Fields    : Simple Field

	 Local			: Field : Simple Field : Set as : If NOT ($$IsSysNameEqual:Primary:##SVAddressToPrint OR $$IsEmpty:##SVAddressToPrint) Then +
																	If NOT $$IsEmpty:@@Invoice_0016CmpNameAddrType Then +
																		$$Sprintf:@@CompanyMailFormat:@@Invoice_0016CmpNameAddrType +
																	Else +
																		"" +
																  Else +
																	If NOT $$IsEmpty:@@Invoice_0016CmpName Then +
																		$$Sprintf:@@CompanyMailFormat:@@Invoice_0016CmpName +
																	Else +
																		""

	Local           : Field : Simple Field : Style  : Normal Bold
	Local           : Field : Simple Field : Full Width:Yes
	Local           : Field : Simple Field : Align  : Right
	
[Line:Vaibhav_TWS_SealSignature_0016_02]
	RightField:Vaibhav_TWS_SealSignature_0016_02
	
[Field:Vaibhav_TWS_SealSignature_0016_02]
	Set as:""

[Part:Vaibhav_TWS_SealSignature_0016_03]
	Bottom Lines: Vaibhav_TWS_SealSignature_0016_03
	Space Bottom:0.2
    
[Line: Vaibhav_TWS_SealSignature_0016_03]

	;Left Fields		: Name Field,Short Name Field
    Right Fields    : Simple Field

    Local           : Field : Name Field : Set as 		: $$LocaleString:"Prepared by"
    Local           : Field : Name Field : Style  		: Small
	Local           : Field : Name Field : Cells  		: @@ExcelCellColumn - 12 * ($$Quotient:@@ExcelCellColumn:8)  
	Local           : Field : Name Field : Align  		: Left
	Local           : Field : Name Field : Width  		: 15% Page
	Local           : Field : Name Field : Invisible	: ((@@IsSales Or @@IsCreditNote) And Not ##SASpaceForInitial) Or +
																	  ((@@IsPurchase Or @@IsDebitNote) And Not ##PUSpaceForInitial) Or +
																	  ((@@IsSalesOrder Or @@IsJobOrderIn) And Not ##SOSpaceForInitial) Or +
																	  ((@@IsPurcOrder Or @@IsJobOrderOut) And Not ##POSpaceForInitial) Or +
																	  (@@IsRcptNote And Not ##RNSpaceForInitial) Or (@@IsDelNote And Not ##DNSpaceForInitial) Or +
																	  ($IsMaterialIn And Not ##RNSpaceForInitial) Or ($IsMaterialOut And Not ##DNSpaceForInitial) OR +
																	  (@@RejInvoice_0016 AND NOT ##RJInOutSpaceForInitial)
				
    Local           : Field : Short Name Field : Set as : $$LocaleString:"Verified by"
    Local           : Field : Short Name Field : Style  : Small
	Local           : Field : Short Name Field : Cells  : @@ExcelCellColumn - 10 * ($$Quotient:@@ExcelCellColumn:8)  
	Local           : Field : Short Name Field : Align  : Left
	Local           : Field : Short Name Field : Indent	: 2	
	Local           : Field : Short Name Field : Width	: 15% Page
	Local           : Field : Short Name Field : Invisible : ((@@IsSales Or @@IsCreditNote) And Not ##SASpaceForInitial) Or +
																		((@@IsPurchase Or @@IsDebitNote) And Not ##PUSpaceForInitial) Or +
																		((@@IsSalesOrder Or @@IsJobOrderIn) And Not ##SOSpaceForInitial) Or +
																		((@@IsPurcOrder Or @@IsJobOrderOut) And Not ##POSpaceForInitial) Or +
																		(@@IsRcptNote And Not ##RNSpaceForInitial) Or (@@IsDelNote And Not ##DNSpaceForInitial) Or +
																		($IsMaterialIn And Not ##RNSpaceForInitial) Or ($IsMaterialOut And Not ##DNSpaceForInitial) OR +
																		(@@RejInvoice_0016 AND NOT ##RJInOutSpaceForInitial)
				
    Local           : Field : Simple Field : Set as : $$LocaleString:"Authorised Signatory"
    Local           : Field : Simple Field : Style  : Normal 
	Local           : Field : Simple Field : Cells  : @@ExcelCellColumn - 8 * ($$Quotient:@@ExcelCellColumn:8)  
	Local           : Field : Simple Field : Align  : Right
    Local           : Field : Simple Field : Full Width:Yes
	Skip Rows   	: 1

[Part:Vaibhav_TWS_SealSignaturev_0016]
    Line: Vaibhav_TWS_SealSignaturev_0016
    
[Line:Vaibhav_TWS_SealSignaturev_0016]	
	Field: Vaibhav_TWS_SealSignaturev_0016
	Space Top: 1 mm
	Space Bottom:2
    Border:thin bottom
    
[Field:Vaibhav_TWS_SealSignaturev_0016]
	
	Use: name field
	Set as: "Receiver's Signature :"
	Full Width:Yes
	Align:Left
	Style: Normalbold
    
[Part:Vaibhav_TWS_SealSignature_0016]
    Width: 25% Page
    
    Part:Vaibhav_TWS_SealSignaturev_0016
	
	Part		: Vaibhav_TWS_SealSignature_0016_01

	Part		: Vaibhav_TWS_SealSignature_0016_02
	BottomPart	: Vaibhav_TWS_SealSignature_0016_03
    
	Vertical	: Yes
	Border  	: Thin left
        
    ;Width		: 30% Page
	
[Part:Vaibhav_TWS_SealSignature_0016_02]
	RightPart:Vaibhav_TWS_SealSignature_0016_R
	
[Part:Vaibhav_TWS_SealSignature_0016_R]
	Use:TWS_SealSignature_0016_Invoice_0016

[Part: TWS_SealSignature_0016_Invoice_0016]
	Graph Type	: @@TWS_SealSignature_0016_Image
	Horizontal Align:Right


	Width		: @@TWS_SealSignature_0016_Width;25
	Height		: @@TWS_SealSignature_0016_Height;3.5	
	
	Space Top	: @@TWS_SealSignature_0016_SpaceTop
	Space Right	: @@TWS_SealSignature_0016_SpaceRight
	Space Bottom: @@TWS_SealSignature_0016_SpaceBottom
	
	Lines       : EXPINV SubTitle
    Local       : Field : EXPINV SubTitle : Info    : ""
    Local       : Field : EXPINV SubTitle : Width   : 1% Page
	Local       : Field : EXPINV SubTitle : Cells   : @@ExcelCellColumn - 6 * ($$Quotient:@@ExcelCellColumn:8)
    				
[Line: TWS_SealSignature_0016_Invoice_0016]
	Field	: TWS_SealSignature_0016_Invoice_0016
			
[Field	: TWS_SealSignature_0016_Invoice_0016]
	set as : ""

;[#Part: EXPSMP SignOff]
;Add:Option: TWS_SealSignature_0016_RightSignv1 : @@CMP_TWS_SealSignature_0016
	
[!Part:TWS_SealSignature_0016_RightSignv1]
	Delete	: Right Parts : EXPSMP TWS_SealSignature_0016
	
	Add		: Right Parts:At End:Vaibhav_TWS_SealSignature_0016
	
	Local	: Part	: Vaibhav_TWS_SealSignature_0016 : Invisible   	: @@IsSales AND ##SACustomerSign
	Local	: Part 	: Vaibhav_TWS_SealSignature_0016	: Delete		: Border
	Local	: Part 	: Vaibhav_TWS_SealSignature_0016	: Local			: Part:Default : Delete:Border
	
;[#Part	: EXPSMP Customer];
	;Add:Option: TWS_SealSignature_0016_RightSignv12 : @@CMP_TWS_SealSignature_0016
	
[!Part:TWS_SealSignature_0016_RightSignv12]
	
	Part       	: EXPINV CustomerSign
	Delete		: Right Parts : EXPSMP TWS_SealSignature_0016
	
	Invisible   : NOT ##SACustomerSign
	
	Add			: Right Parts:At End:Vaibhav_TWS_SealSignature_0016
	
	Local		: Part	: Vaibhav_TWS_SealSignature_0016 : Invisible   	: NOT ##SACustomerSign
	Local		: Part 	: Vaibhav_TWS_SealSignature_0016	: Delete		: Border
	Local		: Part 	: Vaibhav_TWS_SealSignature_0016	: Local			: Part:Default : Delete:Border

[System:UDF]
	Enable_TWS_SealSignature_0016 	: Logical	: 127
	TWS_SealSignature_0016_Image 	: String	: 128

[System: formula]
	Enable_TWS_SealSignature_0016 	: $Enable_TWS_SealSignature_0016:company:##svcurrentcompany 
	HEnable_TWS_SealSignature_0016 	: $Enable_TWS_SealSignature_0016:voucherType:##SVVoucherType
	
	TWS_SealSignature_0016_Image	: $TWS_SealSignature_0016_Image:voucherType:##SVVoucherType
    
	CMP_TWS_SealSignature_0016 		: @@Enable_TWS_SealSignature_0016 AND @@HEnable_TWS_SealSignature_0016  

	
    
[System:UDF]
	TWS_SealSignature_0016_Height 		: String: 129
	TWS_SealSignature_0016_Width 		: String: 130
	TWS_SealSignature_0016_SpaceTop 	: String: 131
	TWS_SealSignature_0016_SpaceRight 	: String: 132
	TWS_SealSignature_0016_SpaceBottom 	: String: 133

[System: formula]
	TWS_SealSignature_0016_Height 		: $TWS_SealSignature_0016_Height:voucherType:##SVVoucherType
	TWS_SealSignature_0016_Width 		: $TWS_SealSignature_0016_Width:voucherType:##SVVoucherType
	TWS_SealSignature_0016_SpaceTop 	: $TWS_SealSignature_0016_SpaceTop:voucherType:##SVVoucherType
	TWS_SealSignature_0016_SpaceRight 	: $TWS_SealSignature_0016_SpaceRight:voucherType:##SVVoucherType
	TWS_SealSignature_0016_SpaceBottom 	: $TWS_SealSignature_0016_SpaceBottom:voucherType:##SVVoucherType

[Report	: TWS_SealSignature_0016_Location]
	Title	: "Seal & Signature In Invoice_0016 Print"
	Form	: TWS_SealSignature_0016_Location

[Form: TWS_SealSignature_0016_Location]
	Part		: TWS_SealSignature_0016_Location

	Full Height	: No
	Full Width	: No
	
	Space Top	: 0
	Space Bottom: 0
	Background  : PurchaseVocherclr   
	Horizontal Align : Centre
	Vertical Align	 : Centre
	Option:small size form:Yes

[Part:TWS_SealSignature_0016_Save]
	Line:TWS_SealSignature_0016_Save
	
[Line:TWS_SealSignature_0016_Save]
	RightField:TWS_SealSignature_0016_Save
	
[Field:TWS_SealSignature_0016_Save]
	Use:Name Field
	Read Only:Yes
	Width:3 mm

[Part: TWS_SealSignature_0016_Location]
	Part: TWS_SealSignature_0016_Location1
	Part: TWS_SealSignature_0016_Location2
	Border:thin box

[Part: TWS_SealSignature_0016_Location2]
	Part: TWS_SealSignature_0016_Location11
	Part: TWS_SealSignature_0016_Location22
	Vertical:Yes
	Border:thin left
	
[Part: TWS_SealSignature_0016_Location11]
	Line    : Form SubTitle
	Local   : Field : Form SubTitle: Info: "Seal & Signature Preview"	
	Width	: 20% page
	
[Part: TWS_SealSignature_0016_Location22]
	Graph Type	: $TWS_SealSignature_0016_Image
	Width		: 20% page
	Height		: 4 cm
	
	Horizontal Align:Centre
		
	Lines       : EXPINV SubTitle
    Local       : Field : EXPINV SubTitle : Info    : "Seal & Signature"
    Local       : Field : EXPINV SubTitle : Width   : 10% Page
	Local       : Field : EXPINV SubTitle : Cells   : 1
	
[Part: TWS_SealSignature_0016_Location1]
	Part: TWS_SealSignature_0016_Location111
	Part: TWS_SealSignature_0016_Location112
	Vertical:Yes

[Line : TWS_SealSignature_0016 NotesOne]
	Field 	  	 : CompanyLogoNotes
	space top : .2
	Space Bottom:.2

	Local : Field : CompanyLogoNotes: Set as      : "- " + $$LocaleString:"Formats supported are BMP and JPEG."
	
[Line : TWS_SealSignature_0016 NotesOne2]
	Field 	  	 : CompanyLogoNotes
	space top : .2
	Space Bottom:.2
	Local : Field : CompanyLogoNotes: Set as      : "- " + $$LocaleString:"Clear Image Use Format BMP."

[Line: TWS_SealSignature_0016_Location]
	Field : medium prompt, TWS_SealSignature_0016_Location
    Local : Field : medium prompt : set as 	: "Seal & Signature Location"
    Local : Field : Medium Prompt : width 	: 17
	Space Bottom:.2
	
[Field: TWS_SealSignature_0016_Location]
	Use			: Name Field
	Storage		: TWS_SealSignature_0016_Image
	Set Always	: Yes
	Align		: Left
	Full Width	: Yes
	Style		: Normal bold
	Max			: 99900
	Case		: Normal
	Width		: 65
	Validation	: NOT $$IsEmpty:$$Value

[Report:Enable_TWS_SealSignature_0016Logo]
	Form:Enable_TWS_SealSignature_0016Logo

[Form:Enable_TWS_SealSignature_0016Logo]
	Part:Enable_TWS_SealSignature_0016Logo
	
	Background: PurchaseVocherClr
	
[Part:Enable_TWS_SealSignature_0016Logo]
	Line:TWS_SealSignature_0016_Image
	
[Line:TWS_SealSignature_0016_Image]
	Field: medium prompt , TWS_SealSignature_0016_Image
	Local: Field:Medium Prompt : Set as: "Seal & Signature Image Path"
	Local: Field:Medium Prompt : Width : 38 mm
	Local: Field:Medium Prompt : Style: small ;bold
	
	Field: Short prompt 
	Local: Field:Short Prompt : Set as: "(Use .bmp Supported image for Seal & Signature)"
	Local: Field:Short Prompt : Width : 70 mm
	Local: Field:Short Prompt : Style: small  italic
	Local: Field:Short Prompt : Align:Centre
	Local: Field:Short Prompt : Color:blue

	Space Top	: 2 mm
	Space Bottom: 2 mm
	
[Field:TWS_SealSignature_0016_Image]

	Use			: Name Field
	Storage		: TWS_SealSignature_0016_Image
	Background	: white
	Border		: thin box
	Width		: 150 mm
	Max			: 250 
	Validate	: NOT $$IsEmpty:$TWS_SealSignature_0016_Image
	Style		: small bold

[Line:SavePathTWS_SealSignature_0016]
	Field:  SavePathTWS_SealSignature_0016
	Space Top	: 2 mm
	Space Bottom: 2 mm
	
[Field:SavePathTWS_SealSignature_0016]
	Width		: 240 mm
	Align		: Centre
	Read Only	: Yes
	Set as		: "Save ?"
	Color		: PurchasevocherClr
	Style		: Normal bold

[Part: TWS_SealSignature_0016_Location111]
	Line    : Form SubTitle
	Local   : Field : Form SubTitle: Info: $$LocaleString:"Seal & Signature Location"
	
	Line	: TWS_SealSignature_0016_Location
	Line	: TWS_SealSignature_0016 NotesOne
	Line	: TWS_SealSignature_0016 NotesOne2
	

[Part: TWS_SealSignature_0016_Location112]
	Line    : Form SubTitle
	Local   : Field : Form SubTitle: Info: $$LocaleString:"Seal & Signature Margin"
	
	Line	: TWS_SealSignature_0016_Height
	
	BottomLine:TWS_SealSignature_0016_Save
	
	Local 	: Field : Medium Prompt : width 	: 6
	Local 	: Field : Short Prompt 	: width 	: 5
	Local 	: Field : Simple Prompt : width 	: 10
	Local 	: Field : Long Prompt 	: width 	: 8
	Local 	: Field : Indented Prompt : width 	: 9
	Local 	: Field : Indented Prompt : Delete	: Indent

[Line: TWS_SealSignature_0016_Height]
	Field : Medium prompt, TWS_SealSignature_0016_Height
	Local : Field : Medium Prompt 	: set as 	: "Height"
	
	Field : Short prompt, TWS_SealSignature_0016_Width
    Local : Field : Short Prompt 	: set as 	: "Width"
	
	Field : Long prompt, TWS_SealSignature_0016_SpaceTop
	Local : Field : Long Prompt 	: set as 	: "Space Top"
	
	Field : Indented prompt, TWS_SealSignature_0016_SpaceRight
    Local : Field : Indented Prompt : set as 	: "Space Right"
	
	Field : Simple prompt, TWS_SealSignature_0016_SpaceBottom
    Local : Field : Simple Prompt 	: set as 	: "Space Bottom"
	
	Space Bottom:.2
		
[Field: TWS_SealSignature_0016_Height]
	Use			: Name Field
	Storage		: TWS_SealSignature_0016_Height
	Width		: 15 mm
	Border		: Thin Box
	Background	: White
    Set as		: "3.5"
	Align		: Centre
	
[Field: TWS_SealSignature_0016_Width]
	Use			: Name Field
	Storage		: TWS_SealSignature_0016_Width
	Width		: 15 mm
	Border		: Thin Box
	Background	: White
	Set as		: "25"
	Align		: Centre
	
[Field: TWS_SealSignature_0016_SpaceTop]
	Use			: Name Field
	Storage		: TWS_SealSignature_0016_SpaceTop
	Width		: 15 mm
	Border		: Thin Box
	Background	: White
	Set as		: "0.1"
	Align		: Centre
	
[Field: TWS_SealSignature_0016_SpaceRight]
	Use			: Name Field
	Storage		: TWS_SealSignature_0016_SpaceRight
	Width		: 15 mm
	Border		: Thin Box
	Background	: White
	Align		: Centre
	Set as		: "0.5"
	
[Field: TWS_SealSignature_0016_SpaceBottom]
	Use			: Name Field
	Storage		: TWS_SealSignature_0016_SpaceBottom
	Width		: 15 mm
	Border		: Thin Box
	Background	: White
	Align		: Centre
	Set as		: "0.1"
	
;[#Form: NormalPRPrint]
;	Add:Option: Payment_RightSign_TWS_SealSignature_0016 : @@CMP_TWS_SealSignature_0016
	
[!Form:Payment_RightSign_TWS_SealSignature_0016]
	Add:Bottom Part:Before:PPR Sign : Payment_TWS_SealSignature_0016
	
[Part:Payment_TWS_SealSignature_0016]
	RightPart:TWS_SealSignature_0016_Invoice_0016
	Space Top   : 0.75 inch
	
;[#Part: PPR Sign]
;	Add:Option: Payment_RightSign_TWS_SealSignature_0016 : @@CMP_TWS_SealSignature_0016
	
[!Part:Payment_RightSign_TWS_SealSignature_0016]
	Delete		: Space Top   : 0.75 inch
    
;[#Form: NormalJRPrint]
 ;   Add:Option: Journal_RightSign_TWS_SealSignature_0016 : @@CMP_TWS_SealSignature_0016
	
[!Form:Journal_RightSign_TWS_SealSignature_0016]
	Add:Bottom Part:Before:PJR Sign : Payment_TWS_SealSignature_0016

;[#Part: PJR Sign]
;	Add:Option: Journal_RightSign_TWS_SealSignature_0016 : @@CMP_TWS_SealSignature_0016
	
[!Part:Journal_RightSign_TWS_SealSignature_0016]
   Delete		: Space Top   : 0.75 inch
   
[#Form: Comprehensive Invoice]
	Add:Option: HV_Invoice_0016PrintingOp  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 
	
[#Form: Simple Printed Invoice]
	Add:Option:  HV_Invoice_0016PrintingOp  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Form : HV_Invoice_0016PrintingOp]
	Delete  	:    Parts
	Delete	    :	 Bottom Parts
	Delete	    :    PageBreak

	Add	 	: Part		:   Invoice_0016OPPgbreak
		
	Add  	: Part		:  	Invoice_0016 inventory
    
	Add 	: BottomPart:  	EXPINV Totals
	Local	: Line		:  	EXPINV Totals : Local:Field:Default : Style:Normal bold
	Local	: Line		:  	EXPINV Totals : Local:Field:Default : Delete:Format
    Local	: Part		:  	EXPINV Totals : Delete:Border
    Local	: Part		:  	EXPINV Totals : Add:Border:Thin Top Left Right
    Local	: Part		:  	EXPINV Totals : Print BG:Sky Blue Lighter
    
    Local	: Line		:  	EXPINV Totals : Local:Field:EXPINV Total : Set as: $Amount
    ;Local	: Line		:  	EXPINV Totals : Local:Style:Default : Bold:No
    
	;Add  : BottomPart	:  	Invoice_0016 TOTALS
	;Add  : bottomPart	:  	Invoice_0016Narration
	
	Add   : BottomParts :  	VCH GST Analysis
	Local : Part		:	VCH GST AnalysisAmtDetails : Invisible: Yes
    Local:Part:VCH GST Analysis : Local:Style:Default : Bold:No
    Local:Part:VCH GST Analysis : Local:Style:Default :Height:10

   
    Add  : bottomPart	:	Invoice_0016_Amount_Chargeable
    
    ;Add  : bottomPart	:  	Invoice_0016_BankDetails
    Add : bottomPart	:  	TWS_eInvoice_00160016_Expinv QRInfo Title
	Add : bottomPart	:  	Invoice_0016 Declaration
    
	
	;Add : bottomPart	:  	EXPINV Jurisdiction, EXPINV Invoice_0016CompGen
	;Add : bottomPart	:  	Invoice_0016 CustomerSign
	

	Add: Page Break		:   Invoice_0016CLPgbreak ,  Invoice_0016OPPgbreak

	width	    :   100% page
	height	    :	100% page
    
    Space Top   : @@InvSpace inch
    Space Right : 0.5 inch
    Space Left  : @@InvSpaceLeft  inch
    Space Bottom: 0.25 inch


    Add     : bottomPart:  eInvoicePrint_TWS_0016_JurisdictionCompGen

[Part: eInvoicePrint_TWS_0016_JurisdictionCompGen]

	Line        : eInvoicePrint_TWS_0016_JurisdictionCompGen
    Preprinted  : Yes
    SpaceTop    : 0.2
	;Border		: Thin left Right Bottom  
	
[Line: eInvoicePrint_TWS_0016_JurisdictionCompGen]

	LeftField       : EXPINV Jurisdiction
	RightField		: EXPINV InvoiceCompGen
    
[Part: Invoice_0016 CustomerSign]
    Lines   : EXPINV CustomerSign
	;Left Parts  : EXPINV CustomerSign
	;Right Parts : EXPINV Signature
	Option      : Small Size Part
	;Border      : Thin Box
	;Vertical    : No
	Space Top	: .5
	;Height 	: 15 mms
	Invisible   : Not @@IsSales OR NOT ##SACustomerSign
					
[Part: Invoice_0016CLPgbreak]
	Line: Invoice_0016CLPgbreak
	
[Line:Invoice_0016CLPgbreak]
	Field:Invoice_0016CLPgbreak
	Border:Thin Top

[Field:Invoice_0016CLPgbreak]
	Use: name field
	Set as:"Continue. . . "
	Align: Right
	Full Width: Yes
	Style: Normal bold
	

[Part: Invoice_0016CMPTiTLE]
	
    
	;part : Invoice_0016 Image
	part : Invoice_0016CMPTiTLE2
	;RightPart : Invoice_0016 Image2
	;RightPart	: TWS_eInvoice_00160016_PrintExp QRC
	
	Border	: THIN Top left Right
	;Invisible: not ##PrintWithCompanyName
    Print BG:Sky Blue Lighter

[Part: Invoice_0016 Image]
	Lines		: Invoice_0016 Image
	Graph Type	: ##SALogoPath
	Width		: 30
	height		: 7
    
[Part: Invoice_0016 Image2]
	Lines		: Invoice_0016 Image
	Graph Type	: ##SALogoPath
	Width		: 30
	height		: 7
	Horizontal Align:Right
    
[Line: Invoice_0016 Image]

	Field	: Invoice_0016 Image
			
[Field	: Invoice_0016 Image]
  	set as : ""
 						

[Part: Invoice_0016CMPTiTLE2]
    Line	: 	Invoice_0016GSTTiTLE22
	;Line	: 	Invoice_0016TiTLE
	Line	: 	Invoice_0016CompanyName
	
	Line	: 	Invoice_0016CompanyNameAddress
	;Line	: 	Invoice_0016CompanyNameAddress2
	;Line	: 	Invoice_0016CompanyNameAddress3
	
	Line	:	Invoice_0016CompanyGST
	;Line	:	Invoice_0016CompanyWeb
    Line	: 	Invoice_0016CompanyPhone
	Line	:	Invoice_0016CompanyPAN
    

	Local	: Field:Default : Align : Centre
    
    Space Top: 0.2
    Space Bottom:0.1
    
[Line: Invoice_0016CompanyName]
	Field:Invoice_0016CompanyName
;	Space Top: 1 mm
;	Space Bottom: 1 mm
	Local:Style:large bold : Height : 15
	
[Field:Invoice_0016CompanyName]
	Use		: Name Field
	Set as	: @@CmpMailName
	Align	: Centre
	Full Width:Yes
	Style:large bold
;Print FG:Blue

[Line: Invoice_0016CompanyNameAddress]
	Field	: Invoice_0016CompanyNameAddress
	
[Field:Invoice_0016CompanyNameAddress]
	Use		: Name Field
	;Set as	: IF NOT $$IsEmpty:@@CmpInvoice_0016Address1 THEN @@CmpInvoice_0016Address1 ELSE $$FullListEx:" ":Invoice_0016CompanyNameAddress:$Address
	Set as	: $$FullListEx:" ":Invoice_0016CompanyNameAddress:$Address
	Align	: Centre
	Full Width:Yes
	Style	: Normal
	Line	: 0
	
[Line: Invoice_0016CompanyNameAddress2]
	Field	: Invoice_0016CompanyNameAddress2
	Invisible:$$IsEmpty:@@CmpInvoice_0016Address2
	
[Field:Invoice_0016CompanyNameAddress2]
	Use		: Name Field
	Set as	: @@CmpInvoice_0016Address2
	Align	: Centre
	Full Width:Yes
	Style	: Normal
	Line	: 0
	
[Line: Invoice_0016CompanyNameAddress3]
	Field	: Invoice_0016CompanyNameAddress3
	Invisible:$$IsEmpty:@@CmpInvoice_0016Address3
	
[Field:Invoice_0016CompanyNameAddress3]
	Use		: Name Field
	Set as	: @@CmpInvoice_0016Address3
	Align	: Centre
	Full Width:Yes
	Style	: Normal
	Line	: 0
	
[Collection: Invoice_0016CompanyNameAddress]
    Type        : Address   : Company
    Child of    : ##SVCurrentCompany
    Object      : Company State
	
[Line:Invoice_0016CompanyPhone]
	field : Invoice_0016CompanyPhone
    ;Space Top: 1 mm

[field : Invoice_0016CompanyPhone]
    Use : name field
	set as	    : @@CmpContacts + ", "  + @@CmpEmail ;+ ", "  + @@CmpWebsite
	FullWidth	: Yes
    Style :Normal
	;Line:0
	Align:Centre
					

[Line:Invoice_0016CompanyWeb]
	field : Invoice_0016CompanyWeb
	;Space Top: 1 mm	
		
[field : Invoice_0016CompanyWeb]
    Use 		: name field
	;Invisible	: ($$IsEmpty:@Website)
	Set as		: "FSSAI No : " + @@CmpInvoice_0016FSSAINo
	Website 	: $Website:Company:##SVCurrentCompany
	FullWidth	: Yes
	Style 		: Normal 
	Align		: Centre					


[Line:Invoice_0016CompanyGST]
	field : Invoice_0016CompanyGST
	;Invisible:yes
		
[field : Invoice_0016CompanyGST]
    Use 		: name field
    ;"GSTIN : " + @@CMPGSTaxNumber + 
	set as	    : "State Name : " + $StateName:company:##SVCurrentCompany + ", Code : " + $$getgststatecode:@Invoice_0016State
	Invoice_0016State: $StateName:company:##SVCurrentCompany
	FullWidth	: Yes
	Style 		: Normal 
	Align		: Centre

[Line:Invoice_0016CompanyPAN]
	field : Invoice_0016CompanyPAN
	;Space Top: 1 mm	
		
[field : Invoice_0016CompanyPAN]
    Use 		: name field
	Invisible	: $$IsEmpty:@PANNo AND $$IsEmpty:@CINNo
	
	;Set as:"PAN No : " + @PANNo
	Set By Condition	: (NOT $$IsEmpty:@PANNo AND NOT $$IsEmpty:@CINNo)	: "PAN No : " + @PANNo + ", CIN No : " + @CINNo
	Set By Condition	: (NOT $$IsEmpty:@PANNo AND $$IsEmpty:@CINNo)		: "PAN No : " + @PANNo
	Set By Condition	: ($$IsEmpty:@PANNo AND NOT $$IsEmpty:@CINNo)		: "CIN No : " + @CINNo
	
	PANNo 				: $IncomeTaxNumber:Company:##SVCurrentCompany
	CINNo 				: $CorporateIdentityNo:Company:##SVCurrentCompany
	
	FullWidth	: Yes
	Style 		: Normal 
	Align		: Centre					
	
[Part: Invoice_0016TiTLE]
	Line:Invoice_0016GSTTiTLE22
	;Line: Invoice_0016TiTLE


[Line: Invoice_0016TiTLE]

			Preprinted : No
			;Space Top: 10 mm
			;Space Bottom: 1 mm
			;Space Top: 5 MM
			;Border:thin left right bottom
			
            ;Field      : Info Field
			Field      : Simple Field
			;Field      : Copy Field 
			
            Local      : Field : Info Field   	: Info       : ""
            Local      : Field : Info Field   	: FullWidth  : Yes
            Local      : Field : Info Field 	: PrePrinted : Yes
			Local      : Field : Info Field 	: Cells      : $$Quotient:@@ExcelCellColumn:3
			;Local      : Field : Simple Field	: Set as     : If $$InExportMode AND @@IsExcelFormat Then "Invoice_0016" Else If ##PrintWithPageNo Then "Invoice_0016" + @@ExtraPageNo Else "Invoice_0016"
			Local      : Field : Simple Field	: Set as     : If $$InExportMode AND @@IsExcelFormat Then $$upper:##ReportTitle Else If ##PrintWithPageNo Then $$upper:##ReportTitle + @@ExtraPageNo Else $$upper:##ReportTitle
            Local      : Field : Simple Field	: Style      : Large bold
            Local      : Field : Simple Field	: FullWidth  : Yes
            Local      : Field : Simple Field	: Align      : Centre
            Local      : Field : Simple Field	: Border:thin bottom
			Local      : Field : Simple Field	: Cells      : $$Quotient:@@ExcelCellColumn:3
			Local      : Field : Copy Field	    : Cells      : @@ExcelCellColumn - 2 * ($$Quotient:@@ExcelCellColumn:3)
	

[Line: Invoice_0016GSTTiTLE22]

			Preprinted : No
			;Space Top: 10 mm
			;Space Bottom: 1 mm
			;Space Top: 5 MM
			;Border:thin left right bottom
			
            LeftField   : Info Field
			Field       : Simple Field
			RightField  : Copy Field 
			
            Local      : Field : Info Field   	: Info       : "GSTIN : " + @@CMPGSTaxNumber
            Local      : Field : Info Field   	: FullWidth  : Yes
            Local      : Field : Info Field 	: Align:Left
			Local      : Field : Info Field 	: Cells      : $$Quotient:@@ExcelCellColumn:3
            Local      : Field : Info Field 	: Style      :Normal bold
            
			Local      : Field : Simple Field	: Set as     : If $$InExportMode AND @@IsExcelFormat Then "Invoice_0016" Else If ##PrintWithPageNo Then "Invoice_0016" + @@ExtraPageNo Else "Invoice_0016"
			Local      : Field : Simple Field	: Set as     : If $$InExportMode AND @@IsExcelFormat Then $$upper:##ReportTitle Else If ##PrintWithPageNo Then $$upper:##ReportTitle + @@ExtraPageNo Else $$upper:##ReportTitle
            Local      : Field : Simple Field	: Style      : Large bold
            Local      : Field : Simple Field	: FullWidth  : Yes
            Local      : Field : Simple Field	: Align      : Centre
            Local      : Field : Simple Field	: Border     : thin bottom
			Local      : Field : Simple Field	: Cells      : $$Quotient:@@ExcelCellColumn:3
            
			Local      : Field : Copy Field	    : Cells      : @@ExcelCellColumn - 2 * ($$Quotient:@@ExcelCellColumn:3)
            Local      : Field : Copy Field	    :Align:Right
            Local      : Field : Copy Field 	: Style      :Normal bold
	
        Space Bottom:0.3

[Part: Invoice_0016_NoDate]
	
	Part		: Invoice_0016_No
	Right Part	: Invoice_0016_Transport
	
	Vertical: No
	
	Border: THIN top left right
	
    ;Local:Style:Default : Bold:No
    ;Local:Line:Invoice_0016PartyName:Local:Style:Default : Bold:Yes
    
   ; Space Top:0.3
    ;Space Bottom:0.3
    
[Part: Invoice_0016_No]
        Width : 47.7% Page


;	Option 		: EXPINV GSTCountryDetails_eInvoice_0016 ;	: @@IsGSTOnAppl AND $$CollectionField:$GSTInvoice_0016TransNature:1:GSTAnalysisPrintSummary IN ("Exports - Taxable", "Exports Exempt", "Exports - LUT/Bond")
	
    
	Line: Invoice_0016No
    Line: Invoice_0016No2
	Line: Invoice_0016_eWayBill
    Line: Invoice_0016OrderNo
	;Line: Invoice_0016ChallnNo
    Line: Invoice_0016_TermsPayment
	
	;Line: Invoice_0016 Mode Terms
	;Line: Invoice_0016_TermsPayment

	Local:Line:Invoice_0016No : Space Top: 0.1
    Local:Line:Invoice_0016No2 : Space Top: 0.1
	Local:Line:Invoice_0016_eWayBill : Space Top: 0.1
	Local:Line:Invoice_0016ChallnNo : Space Top: 0.1
	Local:Line:Invoice_0016OrderNo : Space Top: 0.1
	Local:Line:Invoice_0016_TermsPayment : Space Top: 0.1
	

	Line	: Invoice_0016_DetailsofReceiver
	
	Line	: Invoice_0016PartyName
		
	Line	: Invoice_0016PartyAddres
	Repeat	: Invoice_0016PartyAddres : Address
	
	Bottom Line	: Invoice_0016_PartyPAN
    Bottom Line	: Invoice_0016_PartyMob
    Bottom Line	: Invoice_0016_PartyAdhar
    Bottom Line	: Invoice_0016_PartyState
    Bottom Line	: Invoice_0016_PartyGST
    
	;Bottom Line	: Invoice_0016_PartyMobileNo
    ;Bottom Line	: Invoice_0016VCPartyTINNO
	;Bottom Line	: Invoice_0016 cStateCode
	

[Line: Invoice_0016_PartyPAN]
	Field: medium prompt,Invoice_0016_PartyPAN
	Local: Field: medium prompt: Set as: "Party PAN"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 11
    Invisible:Yes
	Local:Field:Invoice_0016_PartyPAN : Set as: $IncomeTaxNumber:Ledger:$PartyName
    
[Line: Invoice_0016_PartyMob]
	Field: medium prompt,Invoice_0016_PartyPAN
	Local: Field: medium prompt: Set as: "Mobile No"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 11
    
	Local:Field:Invoice_0016_PartyPAN : Set as: $LedgerMobile:Ledger:$PartyName
    
[Line: Invoice_0016_PartyAdhar]
	Field: medium prompt,Invoice_0016_PartyPAN
	Local: Field: medium prompt: Set as: "Party AadharNo"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 11
    Invisible:Yes
	Local:Field:Invoice_0016_PartyPAN : Set as: "";$IncomeTaxNumber:Ledger:$PartyName
    
[Line: Invoice_0016_PartyState]
	Field: medium prompt,Invoice_0016_PartyPAN
	Local: Field: medium prompt: Set as: "State Name"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 11
    
	Local:Field:Invoice_0016_PartyPAN : Set as: $StateName
    
[Line: Invoice_0016_PartyGST]
	Field: medium prompt,Invoice_0016_PartyPAN
	Local: Field: medium prompt: Set as: "GSTIN / UIN"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 11
    
	Local:Field:Invoice_0016_PartyPAN : Set as: $PartyGSTIN
    
    
[Field: Invoice_0016_PartyPAN]
	Use: name field 
	Align: Left
	Width: 15
	Style:Normal bold 
	
[Line: Invoice_0016VCPartyPANNO]
	Field: medium prompt,Invoice_0016VCPartyTINNO
	Local: Field: medium prompt: Set as: "PAN No"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 11
	Local:Field:Invoice_0016VCPartyTINNO : Set as: $IncomeTaxNumber:Ledger:$PartyName
	
	
	
[Line: Invoice_0016_TermsDelivery]
	Field: medium prompt,Invoice_0016_TermsDelivery
	Local: Field: medium prompt: Set as: "Terms of Delivery"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm
	
[Field: Invoice_0016_TermsDelivery]
	Use: name field
	Set as: $$FullList:BasicOrderTerms:$BasicOrderTerms
	Style:Normalbold
	width : 22


[Line: Invoice_0016_eWayBill]
	Field: medium prompt,Invoice_0016 No
	
	Local: Field: medium prompt: Set as: "e-Way Bill No"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 30 mm
	
	Local: Field: Invoice_0016 No: Set as: $$CollectionField:$BillNumber:last:EWAYBILLDETAILS
	;Local: Field: Invoice_0016 No: Set as: $PlaceOfSupply + " (" + $$getgststatecode:$PlaceOfSupply + ")"
	;Local: Field: Invoice_0016 No: Width:13.5
	
	;Field: Short prompt,Invoice_0016 Date
	;Local: Field: Short prompt: Set as: "Date"
	;Local: Field: Short prompt: Style : Normal
	;Local: Field: Short prompt: Width: 5

	;Local: Field: Invoice_0016 Date: Set as: $$CollectionField:$BillDate:(-1):EWAYBILLDETAILS

[Line: Invoice_0016 No]
	Field: medium prompt,Invoice_0016 No
	Local: Field: medium prompt: Set as: "Invoice No"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm
    ;Local: Field: medium prompt: Border:thin right
	;Local: Field: medium prompt: Align:Left
    
[Line: Invoice_0016 No2]
	Field: medium prompt,Invoice_0016 Date
	Local: Field: medium prompt: Set as: "Invoice Date"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm
    ;Local: Field: medium prompt: Border:thin right
    ;Local: Field: medium prompt: Align:Left


[Field: Invoice_0016 No]
	Use: name field
	Set as: $VoucherNumber
	Style:Normalbold
	width : 15
	
[Field: Invoice_0016 Date]
	Use: short Date field
	Set as: $Date
	Style: Normalbold
	Width: 10
	Align:Left



[Line: Invoice_0016 ChallnNo]
	 Space bottom:0.3
    
	Field: medium prompt,Invoice_0016 ChallnNo
	Local: Field: medium prompt: Set as: "Reverse Charge"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 35 mm
	
	;Field: Short prompt,Invoice_0016 ChallanDate
	;Local: Field: Short prompt: Set as: "Date"
	;Local: Field: Short prompt: Style : Normal
	;Local: Field: Short prompt: Width: 5
	

[Field: Invoice_0016 ChallnNo]
	Use: name field
	;Set as: $BasicShipDeliveryNote
	;Set as : IF $BasicShipDeliveryNote = " Not Applicable" THEN "" ELSE $BasicShipDeliveryNote
    Set as:"N"
	width : 5
	Style: Normalbold


[Field: Invoice_0016 ChallanDate]
	Use: Short Date field
	Set as: $BasicShippingDate
	Style: Normalbold
	Width: 10
	Align:Left
	

[Line: Invoice_0016 OrderNo]
	
	Field: medium prompt,Invoice_0016 OrderNo
	Local: Field: medium prompt: Set as: "Order No"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm
	
	;Field: Short prompt,Invoice_0016 OrderDate
	Local: Field: Short prompt: Set as: "Date"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 5
	

[Field: Invoice_0016 OrderNo]
	Use: name field
	;Set as: $$FullList:Invoice_0016OrderList:$BasicPurchaseOrderNo
	Set as : IF $BasicPurchaseOrderNo = " Not Applicable" THEN "" ELSE $$FullList:InvoiceOrderList:$BasicPurchaseOrderNo
	Style:Normalbold
	width : 15
	Line:0
	
[Field: Invoice_0016 OrderDate]
	Use: Short Date field
	;Set as: $$FullList:InvoiceOrderList:@BasicOrderDateUniversal
	Style: Normalbold
	Width: 10
	Align:Left
	Line:0

	BasicOrderDateUniversal 	: $$String:$BasicOrderDate:ShortDate

[Line: Invoice_0016 Mode Terms]

	Field: medium Prompt,Invoice_0016 Mode Terms
	Local: Field: medium Prompt: Set as: "Payment Terms"
	Local: Field: medium Prompt: Style : Normal
	Local: Field: medium Prompt: Width: 30 mm

	Field: Short prompt,Invoice_0016 OrderDate
	Local: Field: Short prompt: Set as: "Due on"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 5
		
	Local:Field:Invoice_0016 OrderDate : Set as: $$Date:$Date + $$Number:$BasicDueDateOfPymt

[Field: Invoice_0016 Mode Terms]
	Use: name field
	Set as: $BasicDueDateOfPymt
	Style: Normalbold
	width : 11
	

[!Part: EXPINV GSTCountryDetails_eInvoice_0016]
	
	Add:Line    : After:Invoice_0016_TermsPayment : EXPINV GST ExportCountry_eInvoice_0016
	
	Local   : Field : medium prompt : Style : Normal
	Local   : Field : medium prompt : Width: 25 mm
	Local:Line:EXPINV GST ExportCountry_eInvoice_0016 : Space Top: 0.1
	

[Line: EXPINV GST ExportCountry_eInvoice_0016]

	Field   : medium prompt, Name Field
	
	Local   : Field : medium prompt : Info   : $$LocaleString:"Country" + ":"
	Local   : Field : medium prompt : Cells  : ($$Quotient:@@ExcelCellColumn:4)
	;Local   : Field : EXPINV SubTitle : Width  : 8% Page
   
	Local   : Field : Name Field      : Set as : If $$IsEmpty:$BasicDestinationCountry +
													Then If (NOT @@IsInvoice_0016  OR (NOT ##ICFGBuyerDetails AND NOT $$IsEmpty:$BasicBuyerName)) +
														Then $CountryName:Ledger:$BasicBuyerName Else $CountryName:Ledger:@@BuyerName Else $BasicDestinationCountry
   
	Local   : Field : Name Field      : Width  : 42% Page
	Local   : Field : Name Field      : Cells  : ($$Quotient:@@ExcelCellColumn:4)
	;Local   : Field : medium prompt   : Style  : If @@IsGSTTaxAnalysisWithItems Then "Tiny" Else "Small" 
	Local   : Field : Name Field        : Style  : If @@IsGSTTaxAnalysisWithItems Then "Small Bold" Else "Normal Bold" 


[!Part: EXPINV GSTLUTDetails_eInvoice_0016]
	Add:Line    : Before:Invoice_0016_DetailsofConsignee : GST LUTBond Dtls_eInvoice_0016, GST LutBond DateDtls_eInvoice_0016
	Local:Line:GST LUTBond Dtls_eInvoice_0016 : Space Top: 0.1
	Local:Line:GST LutBond DateDtls_eInvoice_0016 : Space Top: 0.1
	
[Line: GST LUTBond Dtls_eInvoice_0016]	
		Local   : Field : medium prompt : Style : Normal
		Local   : Field : medium prompt : Width: 25 mm
	
		Field	: Medium Prompt, GST LUTBond No
		Local	: Field : Medium Prompt	: Set as	: $$LocaleString:"LUT/Bond No.:"
		;Local	: Field : Medium Prompt	: Width		: 12% Page
		;Local	: Field	: Medium Prompt	: Style		: If @@IsGSTTaxAnalysisWithItems Then "Tiny" Else "Normal"
		Border	: Thin Top
		
		
[Line: GST LutBond DateDtls_eInvoice_0016]
	
		Fields		: GST LUTBond FromTitle, GST LUTBond From, GST LUTBondToTitle, GST LUTBond To
		Border		: Thin Bottom	
		;Height		: 1.5% Page
		Local   : Field : GST LUTBond FromTitle : Width: 25 mm
		
[Part: Invoice_0016_Transport]
;	Option 		: EXPINV GSTCountryDetails_eInvoice_0016 	: @@IsGSTOnAppl AND $$CollectionField:$GSTInvoice_0016TransNature:1:GSTAnalysisPrintSummary IN ("Exports - Taxable", "Exports Exempt", "Exports - LUT/Bond")
	;Option 		: EXPINV GSTLUTDetails_eInvoice_0016	  	;: ##SAGSTWithLUTBond AND @@IsGSTOnAndAppl AND $$CollectionField:$GSTInvoice_0016TransNature:1:GSTAnalysisPrintSummary IN ("Exports LUT/Bond", "Sales to SEZ - LUT/Bond") AND @@IsSales AND $$GetGSTLUTBondDetails:$Date

    
    Line: Invoice_0016Transport
    Line: Invoice_0016Destination2
    Line: Invoice_0016LRNo
	Line: Invoice_0016DCNo
	Line: Invoice_0016_TermsDelivery
	
    
	
	
	;Line: Invoice_0016Destination
	
	Local:Line:Invoice_0016_TermsDelivery : Space Top: 0.1
	
	Border: THIN left
	Local:Line:Invoice_0016Transport : Space Top: 0.1
	Local:Line:Invoice_0016LRNo : Space Top: 0.1
	Local:Line:Invoice_0016Destination2 : Space Top: 0.1
	Local:Line:Invoice_0016Destination : Space Top: 0.1
	Local:Line:Invoice_0016DCNo : Space Top: 0.1
	
	
	Line	: Invoice_0016_DetailsofConsignee
	
	Line	: Invoice_0016PartyName
	Local	: Field:Invoice_0016PartyName : Set as: $BasicBuyerName
		
	Line	: Invoice_0016PartyAddres
	Repeat	: Invoice_0016PartyAddres : BasicBuyerAddress
	Local	: Field:Invoice_0016PartyAddres : Set as: $BasicBuyerAddress
	
    Bottom Line	: Invoice_0016_PartyPAN
    Bottom Line	: Invoice_0016_PartyMob
    Bottom Line	: Invoice_0016_PartyAdhar
    Bottom Line	: Invoice_0016_PartyState
    Bottom Line	: Invoice_0016_PartyGST
    
    Local:Line:Invoice_0016_PartyPAN	    : Local:Field:Invoice_0016_PartyPAN 	: Set as: $IncomeTaxNumber:Ledger:$BasicBuyerName
    Local:Line:Invoice_0016_PartyMob	    : Local:Field:Invoice_0016_PartyPAN 	: Set as: $LedgerMobile:Ledger:$BasicBuyerName
    Local:Line:Invoice_0016_PartyAdhar	: Local:Field:Invoice_0016_PartyPAN 	: Set as: ""
    Local:Line:Invoice_0016_PartyState	: Local:Field:Invoice_0016_PartyPAN 	: Set as: $ConsigneeStateName
    Local:Line:Invoice_0016_PartyGST	    : Local:Field:Invoice_0016_PartyPAN 	: Set as: $ConsigneeGSTIN
    

	;Bottom Line	: Invoice_0016_PartyMobileNo
	;Bottom Line	: Invoice_0016VCPartyTINNO
	;Bottom Line	: Invoice_0016cStateCode
	
	;Local:Line:Invoice_0016_PartyMobileNo	: Local:Field:Invoice_0016VCPartyTINNO 	: Set as: $PINCode:Ledger:$BasicBuyerName
	;Local:Line:Invoice_0016_PartyMobileNo	: Local:Field:Invoice_0016_PartyMobileNo 	: Set as: $LedgerMobile:Ledger:$BasicBuyerName

	;Local:Line:Invoice_0016VCPartyTINNO	: Local:Field:Invoice_0016VCPartyTINNO : Set as:$ConsigneeGSTIN
	;Local:Line:Invoice_0016VCPartyTINNO	: Local:Field:Invoice_0016_PartyMobileNo : Set as:$IncomeTaxNumber:Ledger:$BasicBuyerName
	
	;Local:Line:Invoice_0016cStateCode	: Local:Field:Invoice_0016cState 	: Set as: $ConsigneeStateName
	;Local:Line:Invoice_0016cStateCode	: Local:Field:Invoice_0016cStateCode 	: Set as: $$getgststatecode:$ConsigneeStateName
	


[Line: Invoice_0016_cPartyMobileNo]
	Field: medium prompt,Invoice_0016_cPartyMobileNo
	Local: Field: medium prompt: Set as: "Mobile No"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 10
	
[Field: Invoice_0016_cPartyMobileNo]
	Use: name field 
	Align: Left
	Width: 25% Page
	Style:Normal bold 
	Set as: $LedgerMobile:Ledger:$BasicBuyerName
	

[Line: Invoice_0016_TermsPayment]
	Field: medium prompt,Invoice_0016_TermsPayment
	Local: Field: medium prompt: Set as: "Payment Terms"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm
	

	Field: Short prompt,Invoice_0016 OrderDate
	Local: Field: Short prompt: Set as: "Due on"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 6
		
	Local:Field:Invoice_0016 OrderDate : Set as: $$Date:$Date + $$Number:$BasicDueDateOfPymt
    Local:Field:Invoice_0016 OrderDate : Width:25 mm
    
[Field: Invoice_0016_TermsPayment]
	Use: name field
	Set as: $BasicDueDateOfPymt
	Style:Normalbold
	width : 9
    
[Line: Invoice_0016 Transport]
	Field: medium prompt,Invoice_0016 Transport
	Local: Field: medium prompt: Set as: "Transport Name"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm

	
[Field: Invoice_0016 Transport]
	Use: name field
	;Set as: $BasicDueDateOfPymt
	Set as : IF $BasicShippedBy = " End of List" THEN "" ELSE $BasicShippedBy
	Style: Normalbold
	Width: 22


[Line: Invoice_0016LRNo]
	 ;Space bottom:0.3
    
	Field: medium prompt,Invoice_0016 LRNo
	Local: Field: medium prompt: Set as: "LR No & Date"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 30 mm
    ;Local: Field: medium prompt: Align:Centre
	
	;Field: Short prompt,Invoice_0016 LRDate
	Local: Field: Short prompt: Set as: "Date"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 12 mm


[Field: Invoice_0016 LRNo]
	Use: name field
	Set as: $BillofLadingNo + " (" + $$String:$BillofLadingDate:"ShortDate" + ")"
	width : 30 mm
	Style: Normalbold
	
[Field: Invoice_0016 LRDate]
	Use: short Date field
	Set as: $BillofLadingDate
	Style: Normalbold
	

[Line: Invoice_0016 Destination2]

	Field: Short prompt,Invoice_0016 Destination
	Local: Field: Short prompt: Set as: "Destination"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 30 mm
	
[Field: Invoice_0016 Destination]
	Use: name field
	;Set as: $BasicFinalDestination
	Set as : IF $BasicFinalDestination = " End of List" THEN "" ELSE $BasicFinalDestination
	Style: Normalbold
	Width: 29.9
	


[Line: Invoice_0016 Destination]
	Field: medium prompt,Invoice_0016VehicleNo
	Local: Field: medium prompt: Set as: "Agent Name"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 25 mm
	
	Invisible:$$IsEmpty:#Invoice_0016VehicleNo
	
[Field: Invoice_0016VehicleNo]
	Use: name field
	Set as: $AgentNmVch_Pcdoe26
	Style: Normalbold
	Width: 29.9
	
	

[Line: Invoice_0016 DCNo]
	
	
	Field: medium prompt,Invoice_0016 DCNo
	Local: Field: medium prompt: Set as: "Vehicle No"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 30 mm


[Field: Invoice_0016 DCNo]
	Use: name field
	Set as: $BasicShipVesselNo
	Style: Normalbold
	width : 22


	
[Field: Invoice_0016 DCDate]
	Use: short Date field
	Set as: $BasicOrderDate
	Style: Normalbold


[Part: Invoice_0016_PartyDetails]
	
	Part		: Invoice_0016_DetailsofReceiver
	RightPart	: Invoice_0016_DetailsofConsignee
	
	Vertical: No
	
	Border: THIN left right
	


[Part: Invoice_0016_DetailsofReceiver]
	;Width	: 41.7
	Line	: Invoice_0016_DetailsofReceiver
	
	Line	: Invoice_0016PartyName
		
	Line	: Invoice_0016PartyAddres
	Repeat	: Invoice_0016PartyAddres : Address
	;Scroll:Vertical
	
	Bottom Line	: Invoice_0016VCPartyTINNO
	Bottom Line	: Invoice_0016 cStateCode

	


[Line:Invoice_0016_DetailsofReceiver]
	Field:Invoice_0016_DetailsofReceiver
	Border:thin top 
	Space Top:0.2
    
[Field:Invoice_0016_DetailsofReceiver]
	Use			: Name Field
	Set as		: "Billed to :";"Details of Receiver (Billed to)"
	Style		: normal bold
	Align		: Left
	;Width		: 43.5
	
	Full Width	: Yes
    
[Line:Invoice_0016_DetailsofConsignee]
	Field:Invoice_0016_DetailsofConsignee
	Border:thin top 
	Space Top:0.2
    
[Field:Invoice_0016_DetailsofConsignee]
	Use			: Name Field
	Set as		: "Shipped to :";"Details of Consignee (Shipped to)"
	Style		: normal bold
	Align		: Left
	;Width		: 41.7
    ;Width		: 56.5
	Full Width	: Yes
    
[Line: Invoice_0016PartyName]
	Field: Invoice_0016PartyName
	
[Field: Invoice_0016PartyName]
	Use: name field 
	Set as: $PartyName
	Align: Left
	Width		: 41.7
	
	
	Style:Normalbold



[Line: Invoice_0016PartyAddres]
	Field: Invoice_0016PartyAddres
	
[Field: Invoice_0016PartyAddres]
	Use: name field 
	Set as: $Address
	Align: Left
	Width		: 41.7
	Style:Normal	
	
;;;; PIN CODe MOBILE No
[Line: Invoice_0016_PartyMobileNo]
	Field: medium prompt,Invoice_0016VCPartyTINNO
	Local: Field: medium prompt: Set as: "PINCode"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 7
	Local:Field:Invoice_0016VCPartyTINNO : Set as: $PINCode:Ledger:$PartyName
	
	Field: Short prompt,Invoice_0016_PartyMobileNo
	Local: Field: Short prompt: Set as: "Mob No"
	Local: Field: Short prompt: Style : Normal 
	Local: Field: Short prompt: Width: 6
	Local:Field:Invoice_0016_PartyMobileNo : Set as: $LedgerMobile:Ledger:$PartyName

	
[Field: Invoice_0016_PartyMobileNo]
	Use: name field 
	Align: Left
	Width: 12
	Style:Normal bold 
	Set as: $LedgerMobile:Ledger:$PartyName

;; GST PAN
[Line: Invoice_0016VCPartyTINNO]
	Field: medium prompt,Invoice_0016VCPartyTINNO
	Local: Field: medium prompt: Set as: "GSTIN"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 7
	Local:Field:Invoice_0016VCPartyTINNO : Set as: $PartyGSTIN
	
	Field: Short prompt,Invoice_0016_PartyMobileNo
	Local: Field: Short prompt: Set as: "PAN"
	Local: Field: Short prompt: Style : Normal 
	Local: Field: Short prompt: Width: 6
	Local:Field:Invoice_0016_PartyMobileNo : Set as: $IncomeTaxNumber:Ledger:$PartyName
	
[Field: Invoice_0016VCPartyTINNO]
	Use: name field 
	Align: Left
	Width: 15
	Style:Normal bold 
	Set as: $PartyGSTIN


[Line: Invoice_0016 cStateCode]
	
	
	Field: medium prompt,Invoice_0016cState
	Local: Field: medium prompt: Set as: "State"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 7
	
	Field: Short prompt,Invoice_0016cStateCode
	Local: Field: Short prompt: Set as: "Code"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 6

[Field: Invoice_0016cState]
	Use: name field
	Set as:$StateName
	Style:Normalbold
	width : 15
	
[Field: Invoice_0016 cStateCode]
	Use: Name field
	
	Style: Normalbold
	Width: 5
	Set as:$$getgststatecode:#Invoice_0016cState
				
				

[Part: Invoice_0016_DetailsofConsignee]
	Width		: 41.7
	
	Line:Invoice_0016_DetailsofConsignee
	
	Line	: Invoice_0016PartyName
	Local:Field:Invoice_0016PartyName : Set as: $BasicBuyerName
		
	Line	: Invoice_0016PartyAddres
	Repeat	: Invoice_0016PartyAddres : BasicBuyerAddress
	Local:Field:Invoice_0016PartyAddres : Set as: $BasicBuyerAddress
	
	Bottom Line	: Invoice_0016VCPartyGSTNO
	Bottom Line	: Invoice_0016 ccStateCode
	
	Local:Field:Invoice_0016 ccState 	: Set as: $ConsigneeStateName
	Local:Field:Invoice_0016 ccStateCode : Set as:$$getgststatecode:$ConsigneeStateName
	
	Border:thin left


	


[Line: Invoice_0016VCPartyGSTNO]
	
	Field: medium prompt,Invoice_0016VCPartyTINNO
	Local: Field: medium prompt: Set as: "GSTIN"
	Local: Field: medium prompt: Style : Normal 
	Local: Field: medium prompt: Width: 10

	Local:Field:Invoice_0016VCPartyTINNO : Set as: $ConsigneeGSTIN


[Line: Invoice_0016 ccStateCode]
		
	Field: medium prompt,Invoice_0016 ccState
	Local: Field: medium prompt: Set as: "State Name"
	Local: Field: medium prompt: Style : Normal
	Local: Field: medium prompt: Width: 10
	
	Field: Short prompt,Invoice_0016 ccStateCode
	Local: Field: Short prompt: Set as: "Code"
	Local: Field: Short prompt: Style : Normal
	Local: Field: Short prompt: Width: 5

	
[Field: Invoice_0016 ccState]
	Use: name field
	Set as:$StateName
	Style:Normalbold
	width : 15
	
[Field: Invoice_0016 ccStateCode]
	Use: Name field
	Set as:$$getgststatecode:#Invoice_0016ccState
	Style: Normalbold
	Width: 5
	

[Part: Invoice_0016 TitleE]
	
	;Line	: Invoice_0016_Title
	Lines       : EXPINV Column1, EXPINV Column2
    
    CommonBorder: Yes
    Border      : Thin box
    
    Local:Line:EXPINV Column1 : Space Top:0.4
    Local:Line:EXPINV Column2 : Space bottom:0.4
	Local:Line:EXPINV Column1 : Delete:Border
	Local:Line:EXPINV Column1 : Delete:Border
	
    Local:Style:Default :Height:10
    Local:Style:Default :Bold:Yes
    
    Print BG:Sky Blue Lighter
    
[Line:Invoice_0016_Title]
	
	Field: Invoice_0016_No
	Field: Invoice_0016_Item
	
	rightField	: Invoice_0016_HSNCode
	rightField	: Invoice_0016_GSTPer

	
	rightField	: Invoice_0016_Qty
	
	rightField	: Invoice_0016_RATE
	Right Field	: Invoice_0016_Per
	Right Field	: Invoice_0016_Disc
	
	rightField	: Invoice_0016_Amount
	 
	Local: Field: default : Style: Normal bold
	Local: Field: default : Line:2
	
	
	Border:thin bottom



[Field:Invoice_0016_No]
	Use		: name field 
	Set as	: "Sr No"
	Width	: 8 mm
	Style	: Normal bold
	Align	: Centre
	Border	: thin left ;right
	


[Field:Invoice_0016_Item]
	Use		: name field 
	Set as      : if @@AcctsInvoice_0016 then $$LocaleString:"Particulars" else $$LocaleString:"Description of Goods"
	Full Width:Yes
	Style	: Normal bold
	Align	: Centre
	Border	: thin left  
	
[Field:Invoice_0016_HSNCode]
	Use		: name field 
	Set as	: "HSN Code"
	Width	: 14 mm
	Style	: Normal bold
	Align	: Centre
	Border	: thin left ;right


[Field:Invoice_0016_GSTPer]
	Use		: name field 
	Set as	: "GST %"
	Width	: 10 mm
	Style	: Normal bold
	Align	: Centre
	Border	:  thin left ;right
	;Invisible	: NOT @@InvGSTIGSTRate
	Invisible	: (NOT @@InvGSTIGSTRate AND NOT @@IsGSTTaxAnalysisWithItems) OR (@@IsGSTCompositeOn AND ##vGSTTransTypeCode NOT In (1,3))
	

[Field:Invoice_0016_Qty]
	Use		: name field 
	Set as	: "Qty"
	Width	: 18 mm
	Style	: Normal bold
	Align	: Centre
	Border	: thin left 
	

[Field: Invoice_0016_RATE]
	Use: NAME FIELD
	Set as: "Rate"
	Width: 18 mm
	Align: Centre
	Border: THIN LEFT 
	Style: Normal BOLD
	
[Field: Invoice_0016_Per]
	Use: NAME FIELD
	Set as: "Per"
	Width: 9.4 mm
	Align: Centre
	Border: THIN left RIGHT
	Style: Normal BOLD
	

[Field: Invoice_0016_Disc]
	Use: NAME FIELD
	Set as: "Disc %"
	Width: 10 MM
	Align: Centre
	Border: THIN LEFT RIGHT
	Style: Normal BOLD
    Invisible   : If (@@IsJobOrderOut OR @@IsJobOrderIn OR (@@IsSales And (@@AcctsInvoice_0016 OR @@AcctsInvoice_0016Mfgr))) Then Yes Else (NOT @@WithDiscount OR (NOT @@InvWithRate AND NOT @@InvWithAmt) OR @@InvWithDiscount)

	
[Field: Invoice_0016_Amount]
	Use: NAME FIELD
	Set as: "Amount"
	Width: 23 mm
	Align: Centre
	Border: THIN LEFT RIGHT
	Style: Normal BOLD
	
[#Line: EXPINV AccDetails]
    Add:Option:  HV_Invoice_0016PrintingOp1  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Line : HV_Invoice_0016PrintingOp1]
            Remove if: $ledgername = $partyledgername
	
[Part: Invoice_0016 inventory]
	    Parts       : EXPINV InvInfo,EXPINV AccInfo
        CommonBorder: Yes
        Vertical    : Yes
        Scroll      : Vertical
        Float       : No
        Border      : Thin Left Right
        Total       : EXPINV Amount
        
        Local:Style:Default : Bold:No
        
	;Lines       : EXPINV InvDetails;, EXPINV InvSubTotal
    ;Repeat      : EXPINV InvDetails    : Inventory Entries
    ;Total       : EXPINV Amount, EXPINV ActualQty, EXPINV Qty, EXPINV ActualAltQty, EXPINV BilledAltQty
	
	;Scroll	: Vertical
	;Common Border: Yes
	;Float:No

	;Border:Thin Left Right
	
	;Local:Line:EXPINV InvDetails :Border:Thin Bottom 
		
[Line:Invoice_0016_Details]

	Local: Field: default : Delete:Storage
	Local: Field: default : Delete:Inactive
	
	Field		: Invoice_0016_iNo
	Field		: Invoice_0016_iItem
	rightField	: Invoice_0016_iHSNCode
	
	rightFields	: Invoice_0016voI_GSTPer

	rightField	: Invoice_0016_iQty

	rightField	: Invoice_0016 iRATE
	Right Field	: Invoice_0016iPer
	Right Field	: Invoice_0016iDisc
	
	rightField	: Invoice_0016 iamount
	
	;Border: thin bottom
	Explode     : Invoice_0016 DescExplosion      	: NOT $$IsEmpty:$StockItemName AND @@InvWithAddl AND NOT $$IsEmpty:$BasicUserDescription
	
	
	Local: Field: default : Style: Normal


	
 [Part: Invoice_0016 DescExplosion]

    Line    : Invoice_0016 DescExplosion
    Repeat  : Invoice_0016 DescExplosion : BasicUserDescription
    BreakOn : $$IsEmpty:$BasicUserDescription
    Scroll  : Vertical
							
							
[Line: Invoice_0016 DescExplosion]

	Fields  : Invoice_0016 Desc
    Indent  : 4
	
 [Field: Invoice_0016 Desc]

    Use     : Name Field
    Style   : Normal Italic
    Set as  : $BasicUserDescription
    Width	: 25
	Line	: 0

[Field:Invoice_0016_iNo]
	Use		: Name field 
	Set as	: $$Line
	Width	: 8 mm
	Style	: Normal bold
	Align	: Centre
	Border	: thin left right

[Field:Invoice_0016_iItem]
	Use		: name field 
	Set as	: $Stockitemname
	
	Full Width:Yes
	Style	: Normal bold
	Align	: Left
	Border	: thin left 
	Inactive: $StockItemname contains "End of List"
	
[Field:Invoice_0016_iHSNCode]
	Use		: name field 
	
	Set as 	: If NOT $GSTIsTransLedEx Then "" Else $GSTItemHSNCodeEx
	Width	: 14 mm
	Style	: Normal bold
	Align	: Left
	Border	: thin left 
	
[Field: Invoice_0016voI_GSTPer]


	Use         : Number Field
    Set as      : If NOT $GSTIsTransLedEx Then "" Else $GSTClsfnIGSTRateEx
    Style       : Small
	Border      : Thin Left
	Width		: 10 mm
	Align       : Right
	Format		: "No Zero, Percentage"
	;Invisible	: NOT @@InvGSTIGSTRate
	Invisible	: (NOT @@InvGSTIGSTRate AND NOT @@IsGSTTaxAnalysisWithItems) OR (@@IsGSTCompositeOn AND ##vGSTTransTypeCode NOT In (1,3))
	
	
[Field:Invoice_0016_iQty]
	Use		: Qty field 
	Set as	: $BilledQty 
	Width	: 18 mm
	Style	: Normal bold
	Align	: Right
	Border	: thin left 


[Field: Invoice_0016iRATE]
	Use: rate price FIELD
	Set as: $rate
	Width: 18 mm
	Align: Right
	Border: THIN LEFT 
	Style: Normal BOLD
	
	
	
[Field: Invoice_0016iPer]
	Use: Rate Units Field
	Set as: #Invoice_0016iRATE
	Width: 9.4 mm
	Align: Right
	Border: THIN LEFT RIGHT
	Style: Normal BOLD
	
	
	
[Field: Invoice_0016iDisc]
	Use: Number Field
	Set as: $Discount
	Width: 10 MM
	Align: Right
	Border: THIN LEFT RIGHT
	Style: Normal BOLD
	Format: "Percentage,no zero"
    Invisible   : If (@@IsJobOrderOut OR @@IsJobOrderIn OR (@@IsSales And (@@AcctsInvoice_0016 OR @@AcctsInvoice_0016Mfgr))) Then Yes Else (NOT @@WithDiscount OR (NOT @@InvWithRate AND NOT @@InvWithAmt) OR @@InvWithDiscount)

[Field: Invoice_0016 iamount]
;	Use: amount  FIELD
	Set as: $amount
	;Width: 23 mm
	Align: Right
	Border: THIN LEFT RIGHT
	Style: Normal BOLD
	Width       : @@AmountWidth

    Use         : Amount Forex Field
    Option      : EXPINV_InBaseCurr : @@IsGSTVchInBasecurrency OR (##SVRuleinBaseCurrency AND @@IsExciseTraderOn AND $$IsMultiCurrencyOn AND NOT @@VTYPHasNoExciseUnit)
    

[Field: Invoice_0016 iamount2]
	
	Set as: $amount
	;Width: 23 mm
	Align: Right
	;Border: THIN LEFT RIGHT
	Style: large BOLD
	Width       : @@AmountWidth


    Use         : Amount Forex Field
	
    Option		: EXPINV SATotalCur		: Yes



[Part: Invoice_0016 TOTALS]
	
	Line: Invoice_0016_Total
		

[Line:Invoice_0016_Total]

	Field		: Invoice_0016_iNo
	Field		: Invoice_0016_iItem
	rightField	: Invoice_0016_iHSNCode
	
	rightFields	: Invoice_0016voI_GSTPer
	rightField	: Invoice_0016_iQty
	rightField	: Invoice_0016 iRATE
	Right Field	: Invoice_0016iPer
	Right Field	: Invoice_0016iDisc
	
	rightField	: Invoice_0016 iamount
	

	Local: Field: default 			: Style: Normal bold

	Local: Field: Invoice_0016_iNo		: Set as: ""
	Local: Field: Invoice_0016_iItem		: Set as: "Total"
	Local: Field: Invoice_0016_iHSNCode	: Set as: ""
	Local: Field: Invoice_0016voI_GSTPer		: Set as: ""
	Local: Field: Invoice_0016_iQty		: Set as: $$Total:Invoice_0016_iQty
	Local: Field: Invoice_0016iamount	: Set as: $$CollAmtTotal:InventoryEntries:$Amount
	
	
	Border: thin top bottom
	


	


[Part: QRCode_Invoice_00162]
	QRCode		: @@UPI_QRCode_Main_eInvoice_0016 : Yes;
	Width		: 15% page
	Height		: 2.5 cm
	Border		: Thin Left
	Horizontal Align:Centre
		
	Lines       : EXPINV SubTitle
    Local       : Field : EXPINV SubTitle : Info    : ""
    Local       : Field : EXPINV SubTitle : Width   : 5% Page
	Local       : Field : EXPINV SubTitle : Cells   : 1

	Invisible	: NOT (@@Enable_UPIQRCode_eInvoice_0016 AND @@HVEnable_UPIQRCode_eInvoice_0016)
	
[System: formula]
	Enable_UPIQRCode_eInvoice_0016 	: $Enable_UPIQRCode:company:##svcurrentcompany
	HVEnable_UPIQRCode_eInvoice_0016 : $Enable_UPIQRCode:voucherType:##SVVoucherType
	
[System:Formulas]
	UPI_QRCode_Main_eInvoice_0016	: $$Remove_UPI_QRCode_eInvoice_0016:@@UPI_QRCode_Value_eInvoice_0016
	UPI_QRCode_Value_eInvoice_0016	: "upi://pay?pa=" + @@UPI_QRCode_BHIMUPI_eInvoice_0016 + "&pn=" + @@UPI_QRCode_CompanyName_eInvoice_0016 + "&am=" + @@UPI_QRCode_Amount_eInvoice_0016 + "&cu=" + @@UPI_QRCode_Currancy_eInvoice_0016 + @@UPI_QRCode_Other_eInvoice_0016 
	
[System:Formulas]	
	UPI_QRCode_CompanyName_eInvoice_0016 : @@eUPI_QRCode_CompanyName_eInvoice_0016
	
	UPI_QRCode_BHIMUPI_eInvoice_0016 	: @@eUPI_QRCode_BHIMUPI_eInvoice_0016
	
	UPI_QRCode_Amount_eInvoice_0016 		: $$String:$Amount
	
	UPI_QRCode_Currancy_eInvoice_0016	: "INR"
	
[System: formula]
	eUPI_QRCode_CompanyName_eInvoice_0016: $UPI_QRCode_CompanyName:company:##svcurrentcompany
	eUPI_QRCode_BHIMUPI_eInvoice_0016	: $UPI_QRCode_BHIMUPI:company:##svcurrentcompany
	UPI_QRCode_Other_eInvoice_0016		: $UPI_QRCode_Other:company:##svcurrentcompany

	
[Function: Remove_UPI_QRCode_eInvoice_0016]

	Parameter : InputString : String

	Variable : StrOpr  : String
	Variable : StrOut  : String
	Variable : StrLen  : Number
	Variable : StrCnt  : Number

	Return  : String

	01   : If   : NOT $$IsEmpty:##InputString
	02   : Set   : StrLen : $$StringLength:##InputString
	03   : Set   : StrCnt : 0
	04   : Set   : StrOut : ""
	05   : WHILE   : $$Number:##StrLen != 0
	06   : Set   : StrOpr : $$StringPart:##InputString:##StrCnt:1
	08   : IF   : NOT $$IsEqual:##StrOpr:"," 
	09   :   Set  : StrOut : $$String:##StrOut + $$String:##StrOpr
	10   :  ENDIF
	11   :  Set   : StrLen : ##StrLen - 1
	12   :  Set   : StrCnt : ##StrCnt + 1
	13   : ENDWHILE
	14   : ENDIF
	15   : RETURN  : ##StrOut



[System: formula]
	QRCode_Location2	: $QRCode_Location:company:##svcurrentcompany
	EnableQRCode2 		: $EnableQRCode:company:##svcurrentcompany
	HVEnableQRCode2 	: $EnableQRCode:voucherType:##SVVoucherType


[!Part:Invoice_0016QRCodescvbv2]
	Line: Invoice_0016BankHolderName
	Line: Invoice_0016Bank Name1
	Line: Invoice_0016AcNo1
	Line: Invoice_0016Bank_BranchName1
	Line: Invoice_0016Bank_IFSCCode
	Line: Invoice_0016Narration

[Part:Invoice_0016_BankDetails]
	
	Part		: Invoice_0016Bank
	;Right Part	: Invoice_0016 Ledgers
	
	Vertical: No
	Border:thin left Right
	
[Part:Invoice_0016 Bank]	
	 Invisible   : NOT ##SABankInfo OR $$IsEmpty:@@VchBankName


	Line: Invoice_0016CompanyBankName1
    ;Line: Invoice_0016CompanyBankName
    ;Line: Invoice_0016CompanyBankName2   
    
	Line: Invoice_0016Bank Name1
	Line: Invoice_0016Bank_BranchName1
    
    Local       : Field : Medium Prompt    	: Width		: 8
	Local       : Field : Medium Prompt    	: Style		: Normal 
    
    Local       : Field : Short Prompt    	: Width		: 10
	Local       : Field : Short Prompt    	: Style		: Normal 
    
[Line: Invoice_0016CompanyBankName1]
	Fields      : Medium Prompt;,Invoice_0016BankName1
    Local       : Field : Medium Prompt    	: Set as 	: "Company's Bank Details :"  
    
	Local       : Field : Medium Prompt    	: Full Width:Yes;Width		: 11
	Local       : Field : Medium Prompt    	: Style		: Normal  bold
    Local       : Field : Medium Prompt    	: Align:Left
	Local       : Field : Medium Prompt    	: Print BG:Sky Blue Lighter
	Border		: Thin top bottom

    Local       : Field : Invoice_0016BankName1 : Set as 	:  $BankingConfigBank:Ledger:@@Invoice_0016PrintBankName_0016 + ", IFSC CODE - " + $IFSCode:Ledger:@@Invoice_0016PrintBankName_0016
    ;Space Top:0.2
    
[Line: Invoice_0016CompanyBankName]
	Fields      : Invoice_0016BankName1
    Local       : Field : Medium Prompt    	: Set as 	: "Bank Details" 
    
	Local       : Field : Medium Prompt    	: Width		: 11
	Local       : Field : Medium Prompt    	: Style		: Normal 
	
	;Border		: Thin top

    Local       : Field : Invoice_0016BankName1 : Set as 	: "Bank Name : " +$BankingConfigBank:Ledger:@@Invoice_0016PrintBankName_0016 + ", IFSC CODE - " + $IFSCode:Ledger:@@Invoice_0016PrintBankName_0016
    Space Top:0.2
    
[Field: Invoice_0016Bank Name1]

	Use		    : Name Field
	Set as	    : $BankingConfigBank:Ledger:@@Invoice_0016PrintBankName_0016
	Style		: Normal bold
    ;Full Width:Yes
     Width		: 20
	
[Line: Invoice_0016CompanyBankName2]
	Fields      : Invoice_0016BankName1
    Local       : Field : Medium Prompt    	: Set as 	: "" 
    
	Local       : Field : Medium Prompt    	: Width		: 11
	Local       : Field : Medium Prompt    	: Align     : Centre

    Local       : Field : Invoice_0016BankName1 : Set as 	: "AC NO - " + $BankDetails:Ledger:@@Invoice_0016PrintBankName_0016 + ", BRANCH - " + $BankBranchName:Ledger:@@Invoice_0016PrintBankName_0016
       Space Bottom:0.2
    

[Line: Invoice_0016BankHolderName]
	Fields      : Medium Prompt, Invoice_0016BankHolderName
    Local       : Field : Medium Prompt    	: Set as 	: "Holder's Name"
   ; Space Top: 0.5 mm

[Field: Invoice_0016BankHolderName]

	Use		    : Name Field
	Set as	    : $BankAccHolderName:Ledger:@@Invoice_0016PrintBankName_0016
	Style		: Normal bold
    Width		: 27
	
[Line: Invoice_0016Bank Name1]
	Fields      : Medium Prompt, Invoice_0016Bank Name1
    Local       : Field : Medium Prompt    	: Set as 	: "Bank"
    
	Fields      : Short Prompt, Invoice_0016Bank_BranchName1
    Local       : Field : Short Prompt   	: Set as    : "Branch"  
    


	
[Line: Invoice_0016AcNo1]
	Fields      : Medium Prompt, Invoice_0016AcNo1
    Local       : Field : Medium Prompt   	: Set as    : "A/c No"
    ;Space Top    : 0.5 mm
					
[Field: Invoice_0016AcNo1]

	Use		    : Name Field
	Set as	    : $BankDetails:Ledger:@@Invoice_0016PrintBankName_0016
	Style		: Normal  bold
    Width		: 20
	

    
[Line: Invoice_0016Bank_BranchName1]
	   	

	Fields      : Medium Prompt, Invoice_0016AcNo1
    Local       : Field : Medium Prompt   	: Set as    : "A/c No"

	Fields      : Short Prompt, Invoice_0016Bank_IFSCCode
    Local       : Field : Short Prompt    	: Set as 	: "IFSC Code"
					

[Field: Invoice_0016Bank_BranchName1]
	Use		    : Name Field
	Set as		: $BankBranchName:Ledger:@@Invoice_0016PrintBankName_0016
	Style		: Normal bold
    Width		: 15
	
[Line: Invoice_0016Bank_IFSCCode]
	Fields      : Medium Prompt, Invoice_0016Bank_IFSCCode
    Local       : Field : Medium Prompt    	: Set as 	: "IFSC Code"
    
[Field: Invoice_0016Bank_IFSCCode]
	Use		    : Name Field
	Set as	    : $IFSCode:Ledger:@@Invoice_0016PrintBankName_0016
	Style		: Normal bold
    Width		: 15
	
	
	
[Part:Invoice_0016Narration]
	Line:Invoice_0016Narration
	Invisible   : NOT @@InvWithNarr OR $$IsEmpty:$Narration
	Border		: thin Top Left Right

[Line:Invoice_0016Narration]
	Field:Medium prompt,Invoice_0016Narration
	Local:Field:Medium prompt : Set as:"Remarks"
	Local: Field : Medium Prompt    : Width : 10
	
[Field:Invoice_0016Narration]
	Use:name Field
	Set as:$Narration
	Full Width:Yes
	Line:0

[Part:Invoice_0016_Amount_Chargeable]
	
	Part		: Invoice_0016_Amount_Chargeable2
	Right Part	: Invoice_0016Bank
	
	Vertical: No
	Border:thin  Right
    
[Part:Invoice_0016_Amount_Chargeable2]
	Line: Amount_Chargeable1
	Line: Amount_Chargeable2
	
	Border:thin left right
	

    ;Local:Style:Default : Bold:No

[Line: Amount_Chargeable1]
	Fields      : Medium Prompt
	;Right Field : Amount_Chargeable1EOE
	
    Local       : Field : Medium Prompt    	: Set as 	: $$LocaleString:"Amount Chargeable (in words)"
	;Local       : Field : Medium Prompt    	: Set as 	: $$LocaleString:"Total Invoice_0016 Amount in Words"
    Local       : Field : Medium Prompt    	: Width     : 35
	Local       : Field : Medium Prompt    	: Style		: Normal
	Local       : Field : Medium Prompt    	: Align		:Left
	;Space Top: 0.5 mm
	Border:thin top
					
[Field:Amount_Chargeable1EOE]
	Use: name field 
	Set as: "E.& O.E"
	Width: 20 mm
	Align: Right
	Style: Normal Italic

[Line: Amount_Chargeable2]
	Fields      : Amount_Chargeable
	
[Field: Amount_Chargeable]

	Use		    : Name Field
	;Set as		: $$InWords:$Amount + " Only"
	Style		: Normal bold
	Full Width  : Yes
	Line		: 0
    Full Width:Yes

    Set as      : $$SPrintf:@@AmtOnlyFormat:@ForexFormula + (If @@ShowAmtInDigits Then " (" + $$String:$Amount:"NoSymbol" + ")" Else "")
    ForexFormula: If @@ShowAmtInDigits Then $$InDigits:$Amount:"Forex" Else $$InWords:$Amount:"Forex"
    ValueInWords: $$InWords:$Amount
                
    Option      : Invoice_0016SAAmtForeign              	: NOT @@IsVchGVATApplicable AND ##SAPrintAmtForeignCurr AND @@VchList AND $$IsMultiCurrencyOn
	Option      : Invoice_0016AmtWord_InBaseCurr 			: @@IsGSTVchInBasecurrency

[!Field: Invoice_0016SAAmtForeign]
	ForexFormula: If @@ShowAmtInDigits Then ($FormalName:Company:##SVCurrentCompany + " " + $$InDigits:$Amount:"NoSymbol") Else ($FormalName:Company:##SVCurrentCompany + " " + $$InWords:$Amount:"NoSymbol")

[!Field: Invoice_0016AmtWord_InBaseCurr]
	Delete		: Set as
	Add			: Set as      : $$SPrintf:@@AmtOnlyFormat:@BaseCurrFormula + (If @@ShowAmtInDigits Then " (" + $$String:$Amount:"NoSymbol" + ")" Else "")
	BaseCurrFormula: If @@ShowAmtInDigits Then $$InDigits:$Amount Else $$InWords:$Amount


[Part: Invoice_0016 Ledgers]
	
	;Lines	: Invoice_0016TotalAmount
;	Lines	: Invoice_0016LessDiscount
;	Lines	: Invoice_0016BeforeTax
	
	Line	: Invoice_0016 Ledgers
	Repeat	: Invoice_0016 Ledgers : ledger entries
	
	Common Borders:Yes
	Float:No
	
	Bottom Lines:Invoice_0016AfterTax
	

[Line: Invoice_0016TotalAmount]

	Field		: Invoice_0016_LedgerName
	rightField	: Invoice_0016_TaxPer
	rightField	: Invoice_0016iamount
	
	Local: Field: Default				: Style 	: Normal bold
	Local: Field: Invoice_0016_LedgerName 	: Set as	: "Total Amount"
	Local: Field: Invoice_0016_iQty 			: Set as	: ""
	
	Local: Field: Invoice_0016iamount		: Set as: $$CollAmtTotal:InventoryEntries:$Amount
	;Border:thin top
;		Set as		: $$CollAmtTotal:InventoryEntries:$DiscountAmt


[Field:Invoice_0016_LedgerName]
	Use		: name field 
	Set as	: $LedgerName
	
	Width	: 40 mm
	Style	: Normal bold
	Align	: Left
	Border	: thin left 
	Inactive: $LedgerName contains "End of List"

[Field:Invoice_0016_TaxPer]
	Use		: Number field 
	
	Set as	: $BasicRateOfInvoice_0016Tax 
	Width	: 12 mm
	Style	: Normal Italic
	Align	: Right
	
	Format	: "No Zero, Percentage"

[#Object:Inventory Entry]
	DiscountAmt	: $$Number:$BilledQty * $$Number:$Rate

[Line: Invoice_0016LessDiscount]

	Field		: Invoice_0016_LedgerName
	rightField	: Invoice_0016_TaxPer
	rightField	: Invoice_0016iamount
	
	Local: Field: Default				: Style 	: Normal bold
	Local: Field: Invoice_0016_LedgerName 	: Set as	: "Less Discount"
	Local: Field: Invoice_0016_iQty 			: Set as	: ""
	
	Local: Field: Invoice_0016iamount		: Set as: ""
	Border:thin top


[Line: Invoice_0016BeforeTax]

	Field		: Invoice_0016_LedgerName
	rightField	: Invoice_0016_TaxPer
	rightField	: Invoice_0016iamount
	
	Local: Field: Default				: Style 	: Normal bold
	Local: Field: Invoice_0016_LedgerName 	: Set as	: "Total Amount Before Tax"
	Local: Field: Invoice_0016_iQty 			: Set as	: ""
	
	Local: Field: Invoice_0016iamount		: Set as: $$CollAmtTotal:InventoryEntries:$Amount
	Border:thin top


[Line: Invoice_0016AfterTax]

	Field		: Invoice_0016_LedgerName

	rightField	: Invoice_0016iamount2
	Local: Field: Default				: Style 	: Large bold
	
	Local: Field: Invoice_0016_LedgerName 	: Set as	: "Grand Total"
	
	Local: Field: Invoice_0016iamount2		: Set as: $Amount
	Border:thin top


[Line: Invoice_0016 Ledgers]

	Field		: Invoice_0016_LedgerName
	Field		: Invoice_0016_TaxPer
	rightField	: Invoice_0016iamount
	
	;Local: Field: Default		: Style 	: Normal bold
	Local: Field: Invoice_0016_iQty 	: Set as	: ""
	Local: Field: Invoice_0016iamount: Set as    : $Amount
	Local: Field: Invoice_0016iamount: Delete:Border

	Remove if: $ledgername = $partyledgername
		;Border:thin top


[Part: Invoice_0016 Declaration]
		
	Part: 	Invoice_0016_TermsNCond
	Right Part	: 	TWS_eInvoice_00160016_PrintExp QRC
    
	Right Part	: 	Invoice_0016ForCMP
	Right Part	: Vaibhav_TWS_SealSignature_0016
    
	Vertical: No

	Border: thin box
	;Local:Style:Default : Bold:No

	Local		: Part:Invoice_0016ForCMP 	: Invisible : @@CMP_TWS_SealSignature_0016
	Local		: Part:Vaibhav_TWS_SealSignature_0016 		: Invisible : NOT @@CMP_TWS_SealSignature_0016

	
	
	
    
[Part:Invoice_0016_TermsNCond]

	Line:Invoice_0016_TermsNCondd_0016	
	Line:Invoice_0016_TermsNCondd_0016_1
	Line:Invoice_0016_TermsNCondd_0016_2
	Line:Invoice_0016_TermsNCondd_0016_3
	Line:Invoice_0016_TermsNCondd_0016_4
	Line:Invoice_0016_TermsNCondd_0016_5

	;Local:Line:Invoice_0016_TermsNCondd_0016 : Local       : Style : Default : Height : @@SmallSize + 1
	;Local       : Style : Default : Height : @@SmallSize

[Line:Invoice_0016_TermsNCondd_0016]

	
	Fields      : Medium Prompt
	Local       : Field : Medium Prompt    	: Set as 	: $$LocaleString:"Terms & Conditions"
    Local       : Field : Medium Prompt    	: Width     : 16
	Local       : Field : Medium Prompt    	: Style:Normal bold
    Local       : Field : Medium Prompt    	: Border:thin bottom
	
    Space Bottom: 0.2
	
				
[Line:Invoice_0016_TermsNCondd_0016_1]

	Fields      : Invoice_0016_TermsNCondd_0016_1
    Space Bottom: 0.5 mm
					
	
[Field: Invoice_0016_TermsNCondd_0016_1]

	Use		: Name Field
	Set as	: $TermsNCondd_0016_1:VOUCHERTYPE:$VOUCHERTYPENAME
	Style	: Normal 
    Line	: 0
	Full Width:Yes

			
[Line:Invoice_0016_TermsNCondd_0016_2]

	Fields      : Invoice_0016_TermsNCondd_0016_2
    Space Bottom: 0.5 mm

	Invisible: $$IsEmpty:#Invoice_0016_TermsNCondd_0016_2
	
[Field: Invoice_0016_TermsNCondd_0016_2]

	Use		: Name Field
	Set as	: $TermsNCondd_0016_2:VOUCHERTYPE:$VOUCHERTYPENAME
	Style	: Normal 
    Line	: 0
	Full Width:Yes

			
[Line:Invoice_0016_TermsNCondd_0016_3]


	Fields      : Invoice_0016_TermsNCondd_0016_3
    Space Bottom: 0.5 mm

	Invisible: $$IsEmpty:#Invoice_0016_TermsNCondd_0016_3
	
[Field: Invoice_0016_TermsNCondd_0016_3]

	Use		: Name Field
	Set as	: $TermsNCondd_0016_3:VOUCHERTYPE:$VOUCHERTYPENAME
	Style	: Normal 
    Line	: 0
	Full Width:Yes

			
[Line:Invoice_0016_TermsNCondd_0016_4]


	Fields      : Invoice_0016_TermsNCondd_0016_4
    Space Bottom: 0.5 mm

	Invisible: $$IsEmpty:#Invoice_0016_TermsNCondd_0016_4
	
[Field: Invoice_0016_TermsNCondd_0016_4]

	Use		: Name Field
	Set as	: $TermsNCondd_0016_4:VOUCHERTYPE:$VOUCHERTYPENAME
	Style	: Normal 
    Line	: 0
	Full Width:Yes
	
[Line:Invoice_0016_TermsNCondd_0016_5]


	Fields      : Invoice_0016_TermsNCondd_0016_5
    Space Bottom: 0.5 mm

	Invisible: $$IsEmpty:#Invoice_0016_TermsNCondd_0016_5
	
[Field: Invoice_0016_TermsNCondd_0016_5]

	Use		: Name Field
	Set as	: $TermsNCondd_0016_5:VOUCHERTYPE:$VOUCHERTYPENAME
	Style	: Normal 
    Line	: 0
	Full Width:Yes

[Part:Invoice_0016 ForCMP]	
    Width: 25% Page
    Line: Invoice_0016 ForCMP2

	Line: Invoice_0016 ForCMP
	Bottom Line: Invoice_0016 ForCMPAuth
	
	Border: thin left 
	
	

[Line:Invoice_0016 ForCMP2]	
	Field: Invoice_0016 ForCMP2
	Space Top: 1 mm
	Space Bottom:2
    Border:thin bottom
    
[Field:Invoice_0016 ForCMP2]
	
	Use: name field
	Set as: "Receiver's Signature :"
	Full Width:Yes
	Align:Left
	Style: Normalbold
    
[Line:Invoice_0016 ForCMP]	
	Field: Invoice_0016 ForCMP
	Space Top: 0.3
	
[Field:Invoice_0016 ForCMP]
	
	Use: name field
	Set as: "For, " + @@cmpmailname
	Full Width:Yes
	Align:Right
	Style: Normalbold
	
[Line:Invoice_0016 ForCMPAuth]	
	Field: Invoice_0016 ForCMPAuth
	Space Bottom: 1 MM
	Space Top: 2
	
[Field:Invoice_0016 ForCMPAuth]
	
	Use: name field
	
	Set as: "Authorised Signatory"
	Full Width:Yes
	Align:Right
	Style: Normal bold
	


[Part: TWS_eInvoice_00160016_PrintExp QRC]
    Part		: TWS_eInvoice_00160016 QRC Title
	;Part		: empty
	Part		: TWS_eInvoice_00160016_QRC Details
	Vertical	: Yes
	;Invisible	: NOT ##SAGSTWithQRInfo OR $$IsEmpty:@@eInvoice_0016QRCValue OR NOT @@IsVchGSTeInvAppl

    Border:thin left	

    Invisible:$$IsEmpty:$IRN

	[Part: TWS_eInvoice_00160016 QRC Title]

		Line		: TWS_eInvoice_00160016 QRC Title
		Border:thin bottom
        Print BG:Sky Blue Lighter
		[Line: TWS_eInvoice_00160016 QRC Title]
		
			Field		: TWS_eInvoice_00160016 QRC Title
			Space Bottom: 0.1
            Space Top:0.1
            

[Field: TWS_eInvoice_00160016 QRC Title]
	
	Use			: Simple Field
	Set as		: $$LocaleString:"e-Invoice"
	Style		: Small Bold
	Align		: Center
	;Width		: @@eInvoice_0016QRCWidth Inch
    Width		: 18


[Part: Invoice_0016OPPgbreak]
	;Part		:  TWS_eInvoice_00160016_Title
    ;Part        :  Invoice_0016TiTLE
	Part		:  Invoice_0016CMPTiTLE
	;Part		:  Invoice_0016CompanyGST
	
	;Part		:  Invoice_0016TiTLE
	;Part		:  Invoice_0016_LutBondDetails
	
	Part		:  Invoice_0016_NoDate
	
	;Part		:  Invoice_0016_PartyDetails
	
	Part		:  Invoice_0016TitleE
	;Switch	: ExpInv Title1	: TWS_eInvoice_00160016_Expinv QRInfo : NOT $$IsEmpty:$IRN;##SAGSTWithQRInfo AND @@IseInvHasQRInformation AND @@eInvQRInfoPrintSuppVch ;AND $$PageNo=1

	Vertical: Yes

[Part:Invoice_0016CompanyGST]
	Line:Invoice_0016CompanyGST
	Invisible: ##PrintWithCompanyName OR NOT @@CompanyGSTTax OR $$IsEmpty:@@CMPGSTaxNumber
	
	Space Bottom:.2

;; E-Invoice_0016
[Part: TWS_eInvoice_00160016_Title]
	;Part	: Invoice_0016TiTLE
	;Part	: EXPINV Title
	
	Part	: Expinv Title Info Top
	Local	: Part:Expinv Title Info Top : Border:Thin box
	
	Vertical: Yes


[Part: Invoice_0016_LutBondDetails]
	
	Part: Invoice_0016_ExportCountry
	Part: Invoice_0016_LUTBond
	Border:Thin box
	
[Part: Invoice_0016_LUTBond]
	Add:Line    : At End : GST LUTBond Dtls_eInvoice_0016, GST LutBond DateDtls_eInvoice_0016
	Local:Line:GST LUTBond Dtls_eInvoice_0016 : Space Top: 0.1
	Local:Line:GST LutBond DateDtls_eInvoice_0016 : Space Top: 0.1
	
	Local:Line:GST LUTBond Dtls_eInvoice_0016 		: Invisible	: NOT (##SAGSTWithLUTBond AND @@IsGSTOnAndAppl AND $$CollectionField:$GSTInvoice_0016TransNature:1:GSTAnalysisPrintSummary IN ("Exports LUT/Bond", "Sales to SEZ - LUT/Bond") AND @@IsSales AND $$GetGSTLUTBondDetails:$Date)
	Local:Line:GST LutBond DateDtls_eInvoice_0016 	: Invisible	: NOT (##SAGSTWithLUTBond AND @@IsGSTOnAndAppl AND $$CollectionField:$GSTInvoice_0016TransNature:1:GSTAnalysisPrintSummary IN ("Exports LUT/Bond", "Sales to SEZ - LUT/Bond") AND @@IsSales AND $$GetGSTLUTBondDetails:$Date)

[Part: Invoice_0016_ExportCountry]	
	Add:Line    : At Beginning : EXPINV GST ExportCountry_eInvoice_0016
	
	Local   : Field : medium prompt : Style : Normal
	Local   : Field : medium prompt : Width: 25 mm
	Local:Line:EXPINV GST ExportCountry_eInvoice_0016 : Space Top: 0.1
	Local:Line:EXPINV GST ExportCountry_eInvoice_0016 : Invisible:NOT (@@IsGSTOnAppl AND $$CollectionField:$GSTInvoice_0016TransNature:1:GSTAnalysisPrintSummary IN ("Exports - Taxable", "Exports Exempt", "Exports - LUT/Bond"))
	
[!Part: TWS_eInvoice_00160016_Expinv QRInfo]
	Add:Part:Before:Invoice_0016TitleE:TWS_eInvoice_00160016_Expinv QRInfo Title

[Part: TWS_eInvoice_00160016_Expinv QRInfo Title]
	Part		: TWS_eInvoice_00160016_Expinv Title Info 
	;  RightPart	: TWS_eInvoice_00160016_PrintExp QRC
	
	Vertical	: No
	Border		: Thin Top Left Right 
	
[Part: TWS_eInvoice_00160016_Expinv Title Info]
	;Part		: Expinv Title Info Top
	
	;Part		: eInvoice_0016 QRC Title
	Part		: TWS_eInvoice_00160016_IRN Details;eInv IRN Details;, Empty
	Vertical	: Yes
	
	Local		: Line	: eInvoice_0016 QRC Title 	: Local:Field:Default : Align:Left
	Local		: Line	: eInvoice_0016 QRC Title 	: Local:Field:Default : Set as:"e-Invoice Details"
	Local		: Line	: eInvoice_0016 QRC Title 	: Delete:Space Bottom
    
	Local		: Field	: Name Field			: Full Width:Yes
		
	Local		: Line	: Default : Space Top:.1
    
	Local		: Field	: Medium Prompt : Style:Normal bold
	Local		: Field	: Default : Style:Normal bold
	Local		: Part 	: e Inv IRN Details : Local		: Field		: Medium Prompt	: Width		: 5
			
    Invisible:$$IsEmpty:$IRN

;;eInvoice_0016 QRInfomration printing

[Part: TWS_eInvoice_00160016_IRN Details]
    Space Bottom:0.1
    
	Line		: TWS_eInvoice_00160016_IRN, TWS_eInvoice_00160016_AckNo;, TWS_eInvoice_00160016_AckDate
	
	;Invisible	: NOT ##SAGSTWithQRInfo OR NOT @@IsVchGSTeInvAppl
	
	;Local		: Line		: Expinv AckNo		: Space top		: 0.10
	;Local		: Line		: Expinv AckDate	: Space top		: 0.10
	
	[Line: TWS_eInvoice_00160016_IRN]
		
		Field		: Medium Prompt, Name Field
		Local		: Field		: Medium Prompt	: Width		: 6
		Local		: Field		: Medium Prompt	: Style		: Normal
		Local		: Field		: Name Field	: Style		: Normal bold
		
		Local		: Field		: Medium Prompt	: Set as	: $$LocaleString:"IRN"
		Local		: Field		: Name Field	: Set as	: @@GSTeInvIRN
		Local		: Field		: Name Field	: Full Width: Yes
		;Local		: Field		: Name Field	: Line		: 0
		
	[Line: TWS_eInvoice_00160016_AckNo]
		
		Field		: Medium Prompt, Name Field
		Local		: Field		: Medium Prompt	: Width		: 6
		Local		: Field		: Medium Prompt	: Style		: Normal
		Local		: Field		: Name Field	: Style		: Normal bold
		Local		: Field		: Medium Prompt	: Set as	: $$LocaleString:"Ack No"
		
		Local		: Field		: Name Field	: Set as	: If ##IseInvPSPrintAfterSave Then ##eInvPSAckNo Else $IRNAckNo

		RightField		: Short Prompt, TWS_eInvoice_00160016_AckDate
		Local		: Field		: Short Prompt	: Width		: 8
		Local		: Field		: Short Prompt	: Style		: Normal
		Local		: Field		: Short Prompt	: Set as	: $$LocaleString:"Ack Date"
		Local		: Field		: TWS_eInvoice_00160016_AckDate		: Set as	: If ##IseInvPSPrintAfterSave Then $$String:##eInvPSAckDate Else $$String:$IRNAckDate
        Local		: Field		: TWS_eInvoice_00160016_AckDate		: Style		: Normal bold
		
[Field: TWS_eInvoice_00160016_AckDate]
	Use		: Short Date Field
	Width	: 25 mm
	Style	: Normal 
    Align:Left
    
	[Line: TWS_eInvoice_00160016_AckDate]
		
		Use			: eInv IRN Details Template
		Space Bottom: 0.25
		Local		: Field		: Medium Prompt	: Set as	: "Ack Date"
		Local		: Field		: Name Field	: Set as	: If ##IseInvPSPrintAfterSave Then $$String:##eInvPSAckDate Else $$String:$IRNAckDate
		





[#Line: eInv IRN Details Template]
		Add:Option:  HV_Invoice_0016PrintingOp  :  @@EnableInvoice_0016 and @@HVEnableInvoice_0016 

[!Line : HV_Invoice_0016PrintingOp]
		Field		: Medium Prompt, Name Field
		Local		: Field		: Medium Prompt	: Width		: 9			
		Local		: Field		: Medium Prompt	: Style		: Normal
		Local		: Field		: Name Field	: Style		: Normal Bold
        
    
[Part: TWS_eInvoice_00160016_QRCDetails]
	QRCode		: @@eInvoiceQRCValue : Yes
    Line		: eInvoice QRC Details
	Width		: 18
	Height		: 9
	Horizontal Alignment:Bottom